![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Lab4Code2(modified version)
Fork of Accelerometer_example by
Diff: main.cpp
- Revision:
- 2:e553dd3fca46
- Parent:
- 0:a1caba5c4e48
- Child:
- 3:2e32120a45f3
--- a/main.cpp Wed Feb 07 16:56:55 2018 +0000 +++ b/main.cpp Fri Feb 16 23:39:39 2018 +0000 @@ -27,6 +27,6 @@ gled = 1.0f - abs(y); bled = 1.0f - abs(z); Thread::wait(300); - pc.printf("X: %1.2f, Y: %1.2f, Z: %1.2f\n", x, y, z); + pc.printf("X: %1.2f, Y: %1.2f, Z: %1.2f\n\r", x, y, z); } }