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: Inits/ILI9327.cpp
- Revision:
- 34:091b954c3205
- Parent:
- 29:866213bb9bf0
--- a/Inits/ILI9327.cpp Mon Apr 11 16:54:35 2016 +0000 +++ b/Inits/ILI9327.cpp Sun Jun 21 15:23:02 2020 +0100 @@ -68,7 +68,7 @@ void ILI9327::init() { wr_cmd8(0x11); - wait_ms(150); + ThisThread::sleep_for(150); wr_cmd8(0xF3); //Set EQ wr_data8(0x08); @@ -148,6 +148,6 @@ wr_data8(0x80); // enable wr_cmd8(0x29); // Set_display_on - wait_ms(150); + ThisThread::sleep_for(150); } \ No newline at end of file