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 GraphicsDisplay

Revision:
34:091b954c3205
Parent:
29:866213bb9bf0
--- a/Inits/S6D04D1.cpp	Mon Apr 11 16:54:35 2016 +0000
+++ b/Inits/S6D04D1.cpp	Sun Jun 21 15:23:02 2020 +0100
@@ -72,7 +72,7 @@
 wr_data8(0x01); 
 
 wr_cmd8(0x11); 
-wait_ms(150); 
+ThisThread::sleep_for(150); 
 
 wr_cmd8(0xF3); 
 wr_data8(0x01); 
@@ -98,23 +98,23 @@
 wr_data8(0xF0); 
 wr_data8(0x70); 
 wr_data8(0x1F); 
-wait_ms(30); 
+ThisThread::sleep_for(30); 
 
 wr_cmd8(0xF3); 
 wr_data8(0x03); 
-wait_ms(30); 
+ThisThread::sleep_for(30); 
 wr_cmd8(0xF3); 
 wr_data8(0x07); 
-wait_ms(30); 
+ThisThread::sleep_for(30); 
 wr_cmd8(0xF3); 
 wr_data8(0x0F); 
-wait_ms(30); 
+ThisThread::sleep_for(30); 
 wr_cmd8(0xF3); 
 wr_data8(0x1F); 
-wait_ms(30); 
+ThisThread::sleep_for(30); 
 wr_cmd8(0xF3); 
 wr_data8(0x7F); 
-wait_ms(30); 
+ThisThread::sleep_for(30); 
 
 
 wr_cmd8(0xF7); 
@@ -253,8 +253,8 @@
 wr_data8(0x02); 
 wr_data8(0x01);//240*400 
  
-wait_ms(20); 
+ThisThread::sleep_for(20); 
 wr_cmd8(0x29); // display on
-wait_ms(20); 
+ThisThread::sleep_for(20); 
     
 }