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/SPI8.cpp
- Revision:
- 34:091b954c3205
- Parent:
- 20:14daa48ffd4c
diff -r 5743f9c16aa2 -r 091b954c3205 Protocols/SPI8.cpp --- a/Protocols/SPI8.cpp Mon Apr 11 16:54:35 2016 +0000 +++ b/Protocols/SPI8.cpp Sun Jun 21 15:23:02 2020 +0100 @@ -194,13 +194,13 @@ } void SPI8::hw_reset() { - wait_ms(15); + ThisThread::sleep_for(15); _DC = 1; _CS = 1; _reset = 0; // display reset - wait_ms(2); + ThisThread::sleep_for(2); _reset = 1; // end reset - wait_ms(100); + ThisThread::sleep_for(100); } void SPI8::BusEnable(bool enable) {