![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Pour BOUAZIZ
Dependencies: L3GD20 LSM303DLHC mbed
Fork of minimu-9v2 by
Diff: main.cpp
- Revision:
- 1:7363eeef6409
- Parent:
- 0:4b3d36de811a
--- a/main.cpp Thu Feb 21 00:24:06 2013 +0000 +++ b/main.cpp Tue Nov 12 17:26:50 2013 +0000 @@ -14,13 +14,12 @@ float gx, gy, gz; debug.format(8,Serial::None,1); debug.baud(115200); - debug.printf("miniimu-9 v2 Test"); while(1) { compass.read(&ax, &ay, &az, &mx, &my, &mz); gyro.read(&gx, &gy, &gz); - debug.printf("a %.4f %.4f %.4f m %.4f %.4f %.4f m %.4f %.4f %.4f\n\r",ax,ay,az,mx,my,mz,gx,gy,gz); - wait(0.05); + debug.printf("a %.4f %.4f %.4f m %.4f %.4f %.4f g %.4f %.4f %.4f\n\r",ax,ay,az,mx,my,mz,gx,gy,gz); + wait(0.5); } } \ No newline at end of file