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/ILI932x.cpp
- Revision:
- 31:4d15eb940be7
- Parent:
- 30:87855d03d91a
- Child:
- 34:091b954c3205
--- a/Inits/ILI932x.cpp Sun Nov 29 19:58:47 2015 +0000 +++ b/Inits/ILI932x.cpp Sat Mar 19 15:36:19 2016 +0000 @@ -17,7 +17,7 @@ hw_reset(); BusEnable(true); //set CS low, will stay low untill manually set high with BusEnable(false); identify(); // will collect tftID - if(tftID==0x9325) init9325(); + if(tftID==0x9325 || tftID==0x9328) init9325(); else if(tftID==0x9320) init9320(); auto_gram_read_format();// try to get read gram pixel format, could be 16bit or 18bit, RGB or BGR. Will set flags accordingly set_orientation(0);