![](/media/cache/profiles/8631e5b91354a846f00dbbf16ad94259.jpg.50x50_q85.jpg)
Sample program for lab 4
Diff: main.cpp
- Revision:
- 4:72b8fb7423dd
- Parent:
- 3:d5c746840139
--- 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); } }