![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
I got the structure of the code but did not get every details right
Diff: main.cpp
- Revision:
- 4:72b8fb7423dd
- Parent:
- 3:d5c746840139
- Child:
- 6:d58d982c647a
--- a/main.cpp Wed Jan 30 21:54:03 2019 +0000 +++ b/main.cpp Wed Feb 19 20:54:44 2020 +0000 @@ -25,7 +25,7 @@ rled = 1.0f - abs(x); gled = 1.0f - abs(y); bled = 1.0f - abs(z); - wait(0.3); + ThisThread::sleep_for(300); // wait(0.3); pc.printf("X: %1.2f, Y: %1.2f, Z: %1.2f\n", x, y, z); } }