Tobore Denedo
/
Accelerometer_Lab4code2
Lab4Code2(modified version)
Fork of Accelerometer_example by
Diff: main.cpp
- Revision:
- 2:e553dd3fca46
- Parent:
- 0:a1caba5c4e48
- Child:
- 3:2e32120a45f3
diff -r 31f0f53b08bd -r e553dd3fca46 main.cpp --- 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); } }