Andrew Mkpanam
/
digitalInPolling
Lab2
Diff: main.cpp
- Revision:
- 3:8d87cbabe37e
- Parent:
- 2:cd1fe8c29793
- Child:
- 4:82f7ccb294d3
--- a/main.cpp Tue Jan 16 18:02:44 2018 +0000 +++ b/main.cpp Tue Jan 15 09:47:06 2019 +0000 @@ -42,7 +42,7 @@ } break ; } - Thread::wait(30); + wait(0.03); } } @@ -58,6 +58,6 @@ pressEvent = 0 ; // clear the event variable led = !led ; } - Thread::wait(100) ; + Thread::wait(0.1) ; } } \ No newline at end of file