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:
- 52:a94cbaef3602
- Parent:
- 51:f391d3a02397
--- a/Fusokukei.h Fri Apr 21 10:50:05 2017 +0000
+++ b/Fusokukei.h Fri May 05 01:08:57 2017 +0000
@@ -34,7 +34,7 @@
}
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] = (float)AIR_K * (float)pow((double)x*5, 1 / AIR_N);
if(air_counter % AIR_SUM_NUM == 0)
air_counter = 0;
airSpeed_ave = make_ave(air_sum, AIR_SUM_NUM);
