![](/media/cache/group/icon1_qbDJ87a.png.50x50_q85.png)
最大200Gの加速度と気圧から計算した高度をOpenLogで記録するロガー
Dependencies: mbed ADXL375_i2c LPS25H_lib
Diff: main.cpp
- Revision:
- 1:1191a33a3f7d
- Parent:
- 0:2844a6d048e2
diff -r 2844a6d048e2 -r 1191a33a3f7d main.cpp --- a/main.cpp Thu Jul 18 13:37:58 2019 +0000 +++ b/main.cpp Fri Jul 19 10:21:28 2019 +0000 @@ -157,9 +157,9 @@ void recData(){ if(save){ time_rec = timer_rec.read_us(); - sd.printf("%d\t", time_rec); - sd.printf("%f\t%f\t%f\t", pres, temp, alt); - sd.printf("%.2f\t%.2f\t%.2f\t", acc[0], acc[1], acc[2]); + sd.printf("%d,", time_rec); + sd.printf("%f,%f,%f,", pres, temp, alt); + sd.printf("%.2f,%.2f,%.2f,", acc[0], acc[1], acc[2]); sd.printf("%d\r\n", separate); } }