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 mbed
Dependents: MPU9250_SPI_Test_1201
Diff: main.cpp
- Revision:
- 4:6bfddd447c27
- Parent:
- 3:ad2ef67e7f72
- Child:
- 5:5839d1b118bc
--- a/main.cpp Sun Jun 29 07:17:32 2014 +0000
+++ b/main.cpp Mon Jun 30 13:16:13 2014 +0000
@@ -24,10 +24,13 @@
while(1) {
//myled = 1;
wait(0.1);
+ /*
imu.read_temp();
imu.read_acc();
imu.read_rot();
imu.AK8963_read_Magnetometer();
+ */
+ imu.read_all();
printf("%10.3f,%10.3f,%10.3f,%10.3f,%10.3f,%10.3f,%10.3f,%10.3f,%10.3f,%10.3f\n",
imu.Temperature,
imu.gyroscope_data[0],