UniGraphics Library Fork to support mbed os 6.3 Release for ILI9341
Dependents: TFT_ILI9341_UniGraphic TFT_ILI9341_os6
Diff: Protocols/PAR16.cpp
- Revision:
- 1:6f267dbbafec
- Parent:
- 0:bb2bda4f5846
--- a/Protocols/PAR16.cpp Tue Oct 06 05:07:55 2020 +0000 +++ b/Protocols/PAR16.cpp Thu Oct 08 17:58:07 2020 -0500 @@ -214,15 +214,15 @@ } void PAR16::hw_reset() { - ThisThread::sleep_for(15); + ThisThread::sleep_for(15ms); _DC = 1; _CS = 1; _WR = 1; _RD = 1; _reset = 0; // display reset - ThisThread::sleep_for(2); + ThisThread::sleep_for(2ms); _reset = 1; // end reset - ThisThread::sleep_for(100); + ThisThread::sleep_for(100ms); } void PAR16::BusEnable(bool enable) {