Los 3 mosqueteros-freescale
/
FRDM_MMA8451Q
Prueba acelerometro - ejemplo recuperado
Fork of FRDM_MMA8451Q by
Revision 10:5aae7cac1608, committed 2015-05-16
- Comitter:
- fonz626
- Date:
- Sat May 16 21:37:16 2015 +0000
- Parent:
- 9:d4bffe27a7bf
- Commit message:
- accelerometer
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d4bffe27a7bf -r 5aae7cac1608 main.cpp --- a/main.cpp Wed Jul 16 10:30:54 2014 +0000 +++ b/main.cpp Sat May 16 21:37:16 2015 +0000 @@ -33,7 +33,8 @@ rled = 1.0f - x; gled = 1.0f - y; bled = 1.0f - z; - wait(0.1f); + wait(0.5f); printf("X: %1.2f, Y: %1.2f, Z: %1.2f\n", x, y, z); + wait(0.5f); } }