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/UC1608.cpp
- Revision:
- 34:091b954c3205
- Parent:
- 9:1749ae993cfe
--- a/Inits/UC1608.cpp Mon Apr 11 16:54:35 2016 +0000 +++ b/Inits/UC1608.cpp Sun Jun 21 15:23:02 2020 +0100 @@ -41,7 +41,7 @@ /* Start Initial Sequence ----------------------------------------------------*/ // wr_cmd8(0xE2); // sw reset - wait_ms(15); + ThisThread::sleep_for(15); wr_cmd8(0x27); // Multiplex rate :128 set temperature consenpation 0% wr_cmd8(0xEA); //set bias:1/12bias @@ -53,7 +53,7 @@ //wr_cmd8(0xC0); // SHL select com0-com63 wr_cmd8(0x2F); // //Power Control:internal, LCD capacitance 60nf-90nf - wait_ms(10); + ThisThread::sleep_for(10); // wr_cmd8(0x81);//Set Gain and Potentiometer // wr_cmd8(0x40|26);//Set Gain and Potentiometer xx xxxxxx