College Project

Dependencies:   mbed MPU9250_SPI_Test MPU9250-XCLIN

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],