imu rev1

Dependencies:   IMUfilter mbed

Fork of AIviate by UCLA IEEE

Revision:
5:d85bac38cdff
Parent:
4:44a5b1e8fd27
--- a/steps.cpp	Sat Nov 02 08:47:14 2013 +0000
+++ b/steps.cpp	Tue Nov 26 20:29:54 2013 +0000
@@ -35,8 +35,14 @@
             pc.printf("Error in get_sensor_data while reading from gyro!\r\n");
         return 1;
     }
+    // updated output format for matlab 
     if (USBDEBUG)
-        pc.printf("Ax: %i Ay: %i Az: %i Gx: %i Gy: %i Gz: %i\r\n", s.ax, s.ay, s.az, s.gx, s.gy, s.gz);
+        //pc.printf("%i,%i,%i\r\n", s.ax, s.ay, s.az);
+        pc.printf("%i,%i,%i,%i,%i,%i\r\n", s.ax, s.ay, s.az, s.gx, s.gy, s.gz);
+
+     
+    //if (USBDEBUG)
+     //   pc.printf("Ax: %i Ay: %i Az: %i Gx: %i Gy: %i Gz: %i\r\n", s.ax, s.ay, s.az, s.gx, s.gy, s.gz);
     return 1;
 }