最大200Gの加速度と気圧から計算した高度をOpenLogで記録するロガー
Dependencies: mbed ADXL375_i2c LPS25H_lib
Revision 1:1191a33a3f7d, committed 2019-07-19
- Comitter:
- tanahashi
- Date:
- Fri Jul 19 10:21:28 2019 +0000
- Parent:
- 0:2844a6d048e2
- Commit message:
- ver8
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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); } }