//HSD3.0+ILI9327 //************* Start Initial Sequence **********// WriteComm(0xE9); WriteData(0x20); WriteComm(0x11); //Exit Sleep Delay(100); WriteComm(0x3A); WriteData(0x55); WriteComm(0xD1); WriteData(0x00); WriteData(0x65); //µ÷ÊÔ´ËÖµ¸ÄÉÆË®ÎÆ WriteData(0x1F); WriteComm(0xD0); WriteData(0x07); WriteData(0x07); WriteData(0x80); WriteComm(0x36); WriteData(0x48); WriteComm(0xC1); WriteData(0x10); WriteData(0x10); WriteData(0x02); WriteData(0x02); WriteComm(0xC0); //Set Default Gamma WriteData(0x00); WriteData(0x35); WriteData(0x00); WriteData(0x00); WriteData(0x01); WriteData(0x02); WriteComm(0xC5); //Set frame rate WriteData(0x01); WriteComm(0xD2); //power setting WriteData(0x01); WriteData(0x22); WriteComm(0xC8); //Set Gamma WriteData(0x01); WriteData(0x52); WriteData(0x37); WriteData(0x10); WriteData(0x0d); WriteData(0x01); WriteData(0x04); WriteData(0x51); WriteData(0x77); WriteData(0x01); WriteData(0x01); WriteData(0x0d); WriteData(0x08); WriteData(0x80); WriteData(0x00); WriteComm(0x29); //display on }