My controller identifies as an ILI9328, but only works if initialised as an ILI9325. This fork includes a fix to force 9325 initialization when a 9328 is detected.
Dependents: TouchScreenCalibrate TouchScreenGUIDemo
Fork of UniGraphic by
Diff: Protocols/PAR8.cpp
- Revision:
- 34:091b954c3205
- Parent:
- 27:acb2594b8aa4
--- a/Protocols/PAR8.cpp Mon Apr 11 16:54:35 2016 +0000 +++ b/Protocols/PAR8.cpp Sun Jun 21 15:23:02 2020 +0100 @@ -261,15 +261,15 @@ } void PAR8::hw_reset() { - wait_ms(15); + ThisThread::sleep_for(15); _DC = 1; _CS = 1; _WR = 1; _RD = 1; _reset = 0; // display reset - wait_ms(2); + ThisThread::sleep_for(2); _reset = 1; // end reset - wait_ms(100); + ThisThread::sleep_for(100); } void PAR8::BusEnable(bool enable) {