Craig Evans
/
ELEC2645_Pong2021
Pong game for ELEC1620 board.
Diff: lib/N5110.cpp
- Revision:
- 1:d63a63f0d397
- Parent:
- 0:be41a15e7a86
--- a/lib/N5110.cpp Fri Dec 11 12:25:25 2020 +0000 +++ b/lib/N5110.cpp Fri Mar 05 16:58:05 2021 +0000 @@ -108,7 +108,7 @@ // if we are powering the LCD using the GPIO then make it low to turn off if (_pwr != NULL) { - wait_ms(10); // small delay and then turn off the power pin + thread_sleep_for(10); // small delay and then turn off the power pin _pwr->write(0); // turn off power }