Void ILI9488_3.92_Initial_Code(void) { // VCI=2.8V Normal White //************* Reset LCD Driver ****************// LCD_nRESET = 1; Delayms(1); // Delay 1ms LCD_nRESET = 0; Delayms(10); // Delay 10ms,This delay time is necessary LCD_nRESET = 1; Delayms(120); // Delay 100 ms //************* Start Initial Sequence **********// WriteComm(0xE0); WriteData(0x00); WriteData(0x07); WriteData(0x0f); WriteData(0x0D); WriteData(0x1B); WriteData(0x0A); WriteData(0x3c); WriteData(0x78); WriteData(0x4A); WriteData(0x07); WriteData(0x0E); WriteData(0x09); WriteData(0x1B); WriteData(0x1e); WriteData(0x0f); WriteComm(0xE1); WriteData(0x00); WriteData(0x22); WriteData(0x24); WriteData(0x06); WriteData(0x12); WriteData(0x07); WriteData(0x36); WriteData(0x47); WriteData(0x47); WriteData(0x06); WriteData(0x0a); WriteData(0x07); WriteData(0x30); WriteData(0x37); WriteData(0x0f); WriteComm(0xC0); WriteData(0x10); WriteData(0x10); WriteComm(0xC1); WriteData(0x41); WriteComm(0xC5); WriteData(0x00); WriteData(0x22); WriteData(0x80); WriteComm(0x36); WriteData(0x48); WriteComm(0x3A); //Interface Mode Control WriteData(0x66); WriteComm(0XB0); //Interface Mode Control WriteData(0x00); WriteComm(0xB1); //Frame rate 70HZ WriteData(0xB0); WriteData(0x11); WriteComm(0xB4); WriteData(0x02); WriteComm(0xB6); //RGB/MCU Interface Control WriteData(0x02); WriteData(0x02); WriteComm(0xB7); WriteData(0xC6); //WriteComm(0XBE); //WriteData(0x00); //WriteData(0x04); WriteComm(0xE9); WriteData(0x00); WriteComm(0XF7); WriteData(0xA9); WriteData(0x51); WriteData(0x2C); WriteData(0x82); WriteComm(0x21); WriteComm(0x11); Delay(120); WriteComm(0x29);