code projet M1 + ensil

Dependencies:   ADXL345 HMC5843 ITG3200 mbed

Fork of 9DOF-Stick by Uwe Gartmann

Revision:
1:18f68a0b0793
Parent:
0:9410b3e6aea5
Child:
2:c340f1bda440
--- a/main.cpp	Fri Oct 07 21:31:36 2011 +0000
+++ b/main.cpp	Fri Oct 07 21:42:29 2011 +0000
@@ -71,7 +71,7 @@
         pc.printf(" A %+5i %+5i %+5i",(int16_t)readings[0],(int16_t)readings[1],(int16_t)readings[2]);
         wait(0.05);
         
-        pc.printf(" G %+5i %+5i %+5i",(int16_t)gyr.getGyroX(),(int16_t)gyr.getGyroY(),(int16_t)gyr.getGyroX());
+        pc.printf(" G %+5i %+5i %+5i",(int16_t)gyr.getGyroX(),(int16_t)gyr.getGyroY(),(int16_t)gyr.getGyroZ());
         pc.printf("%c" ,13,10);        
         wait(0.05);