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: MPU9250_SPI SDFileSystem XBeeLib
Diff: event.cpp
- Revision:
- 25:86137c182a17
- Parent:
- 24:eed68c95160c
- Child:
- 26:4bc56ce08d15
--- a/event.cpp Fri Oct 27 09:59:32 2017 +0000
+++ b/event.cpp Fri Oct 27 23:49:44 2017 +0000
@@ -20,8 +20,9 @@
{
imu.read_acc();
- PC.printf("Time: %d:\t%d,%10.3f,%10.3f,%10.3f\n",
- time_stamp.read_ms(),
+ //PC.printf("Time: %d ms:\t%d,%10.3f,%10.3f,%10.3f\n",
+ fprintf(fp, "Time: %d us:\t%d,%10.3f,%10.3f,%10.3f\n",
+ time_stamp.read_us(),
micro.read_u16(),
imu.accelerometer_data[0],
imu.accelerometer_data[1],

