// N114-2413THBIG01-H13 // //Newvision // //ST7789V // /*========================================*/ HW_Reset(); Delay(120); //ms WriteCom(0x11); //Sleep out Delay(120); //Delay 120ms WriteCom(0x36); WriteData(0x00); WriteCom(0x3A); WriteData(0x05); //0x05( 65K Color) WriteCom(0x21); WriteCom(0xB2); WriteData(0x05); WriteData(0x05); WriteData(0x00); WriteData(0x33); WriteData(0x33); WriteCom(0xB7); WriteData(0x23); WriteCom(0xBB); WriteData(0x22); WriteCom(0xC0); WriteData(0x2C); WriteCom(0xC2); WriteData(0x01); WriteCom(0xC3); WriteData(0x13); WriteCom(0xC4); WriteData(0x20); WriteCom(0xC6); WriteData(0x0F); WriteCom(0xD0); WriteData(0xA4); WriteData(0xA1); WriteCom(0xD6); WriteData(0xA1); WriteCom(0xE0); WriteData(0x70); WriteData(0x06); WriteData(0x0C); WriteData(0x08); WriteData(0x09); WriteData(0x27); WriteData(0x2E); WriteData(0x34); WriteData(0x46); WriteData(0x37); WriteData(0x13); WriteData(0x13); WriteData(0x25); WriteData(0x2A); WriteCom(0xE1); WriteData(0x70); WriteData(0x04); WriteData(0x08); WriteData(0x09); WriteData(0x07); WriteData(0x03); WriteData(0x2C); WriteData(0x42); WriteData(0x42); WriteData(0x38); WriteData(0x14); WriteData(0x14); WriteData(0x27); WriteData(0x2C); WriteCom(0x29); //Display on /****************************************************/ WriteCom(0x2A); //Column Address Set WriteData(0x00); WriteData(0x34); //52 WriteData(0x00); WriteData(0xBA); //186 WriteCom(0x2B); //Row Address Set WriteData(0x00); WriteData(0x28); //40 WriteData(0x01); WriteData(0x17); //279 WriteCom(0x2C); /*****************************************************/ WriteCom(0x11); //Sleep out Delay(120); //Delay 120ms /*****************************************************/ WriteCom(0x10); //Sleep in Delay(120); //Delay 120ms