HSD 2.4Ħħ IPS Panel Initial code Suggestion Void ST7789VHSD24IPSpanelinitialcode(void) { //----------------------------------ST7789V reset sequence------------------------------------// LCD_RESET=1; Delayms(1); //Delay 1ms LCD_RESET=0; Delayms(10); //Delay 10ms LCD_RESET=1; Delayms(120); //Delay 120ms //---------------------------------------------------------------------------------------------------// Write command 0x11; Delayms(120); //Delay 120ms //--------------------------------------Display Setting------------------------------------------// Write command 0x36; Write data 0x00; Write command 0x3a; Write data 0x05; Write command 0x21; //--------------------------------ST7789V Frame rate setting----------------------------------// Write command 0xb2; Write data 0x05; Write data 0x05; Write data 0x00; Write data 0x33; Write data 0x33; Write command 0xb7; Write data 0x35; //---------------------------------ST7789V Power setting--------------------------------------// Write command 0xb8; Write data 0x2f; Write data 0x2b; Write data 0x2f; Write command 0xbb; Write data 0x20; Write command 0xc0; Write data 0x2c; Write command 0xc2; Write data 0x01; Write command 0xc3; Write data 0x0b; Write command 0xc4; Write data 0x20; Write command 0xc6; Write data 0x11; Write command 0xd0; Write data 0xa4; Write data 0xa1; Write command 0xe8; Write data 0x03; Write command 0xe9; Write data 0x0d; Write data 0x12; Write data 0x00; //-------------------------------ST7789V gamma setting---------------------------------------// Write command 0xe0; Write data 0xd0; Write data 0x06; Write data 0x0b; Write data 0x0a; Write data 0x09; Write data 0x05; Write data 0x2e; Write data 0x43; Write data 0x44; Write data 0x09; Write data 0x16; Write data 0x15; Write data 0x23; Write data 0x27; Write command 0xe1; Write data 0xd0; Write data 0x06; Write data 0x0b; Write data 0x09; Write data 0x08; Write data 0x06; Write data 0x2e; Write data 0x44; Write data 0x44; Write data 0x3a; Write data 0x15; Write data 0x15; Write data 0x23; Write data 0x26; Write command 0x29;