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: mbed MMA8452Q MS5837 SDFileSystem SCI_SENSOR
Diff: main.cpp
- Revision:
- 13:c886dcc0ea41
- Parent:
- 12:54b498af39df
- Child:
- 15:09aa3c2684b2
diff -r 54b498af39df -r c886dcc0ea41 main.cpp --- a/main.cpp Thu Dec 02 14:34:09 2021 +0000 +++ b/main.cpp Thu Dec 02 14:35:14 2021 +0000 @@ -155,7 +155,7 @@ float current_temp=temp.temp(); float current_light=light.light(); - //fprintf(fp, "$DATA, %f, %f, %f, %f, %f, %f, %f, %f, %f\r\n", current_time,current_pressure,current_depth,current_Xaccel,current_Yaccel,current_Zaccel,current_temp,current_light,current_pw); + fprintf(fp, "$DATA, %f, %f, %f, %f, %f, %f, %f, %f, %f\r\n", current_time,current_pressure,current_depth,current_Xaccel,current_Yaccel,current_Zaccel,current_temp,current_light,current_pw); // log system time t.read() // log imu data, log science data