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/BUS16.cpp
- Revision:
- 34:091b954c3205
- Parent:
- 21:ae0a4eedfc90
--- a/Protocols/BUS16.cpp Mon Apr 11 16:54:35 2016 +0000 +++ b/Protocols/BUS16.cpp Sun Jun 21 15:23:02 2020 +0100 @@ -211,15 +211,15 @@ } void BUS16::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 BUS16::BusEnable(bool enable) {