Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSoftSerial2 INA226_ver1 mbed-rtos mbed SDFileSystem-RTOS
Fork of keiki2017 by
Diff: Fusokukei.h
- Branch:
- Thread-gyogetsuMPU
- Revision:
- 57:d415d463a605
- Parent:
- 51:f391d3a02397
- Child:
- 75:2ac3d145942f
--- a/Fusokukei.h Sat May 27 03:23:13 2017 +0000 +++ b/Fusokukei.h Sat May 27 07:44:05 2017 +0000 @@ -34,7 +34,8 @@ } void calcAirSpeed(float x){ - air_sum[air_counter % AIR_SUM_NUM] = (float)AIR_K * (float)pow((double)x, 1 / AIR_N); + air_sum[air_counter % AIR_SUM_NUM] = 0.0529*x;//2017 5/27 校正 + /*(float)AIR_K * (float)pow((double)x, 1 / AIR_N);*/ if(air_counter % AIR_SUM_NUM == 0) air_counter = 0; airSpeed_ave = make_ave(air_sum, AIR_SUM_NUM);