//FW S7797+BOE1.6 SSD_SEND(0x01,0xF0,0xC3); SSD_SEND(0x01,0xF0,0x96); SSD_SEND(0x01,0xF0,0xA5); SSD_SEND(0x01,0xC1,0x00,0x08,0xA5,0x13);//#VOP=4.6V,VGH=12.54V,VGL=-11.6V,AVDD=6.66V,AVEE=-3.5V SSD_SEND(0x01,0xC2,0x00,0x08,0xA5,0x13); SSD_SEND(0x01,0xC3,0x44,0x04,0x44,0x04);//# SSD_SEND(0x01,0xC4,0x44,0x04,0x44,0x04);//# SSD_SEND(0x01,0xC5,0x6A);//#VCOM=1.675V SSD_SEND(0x01,0xD6,0x00); SSD_SEND(0x01,0xD7,0x00); SSD_SEND(0x01,0xE0,0xD2,0x09,0x0C,0x07,0x06,0x23,0x2E,0x43,0x46,0x17,0x13,0x13,0x2D,0x33);//#,Gamma,2.2,P,2022,4,14 SSD_SEND(0x01,0xE1,0xD2,0x09,0x0C,0x07,0x05,0x23,0x2E,0x33,0x46,0x17,0x13,0x13,0x2D,0x33);//#,Gamma,2.2,N,2022,4,14 SSD_SEND(0x01,0xE5,0xB5,0xF5,0xC9,0x33,0x22,0x25,0x10,0x55,0x55,0x55,0x55,0x55,0x55,0x55);//#GVDD=6.6V,GVEE=-3.5V,SVDD=6.6V,SVEE=-3.5V SSD_SEND(0x01,0xE6,0xB5,0xF5,0xC9,0x33,0x22,0x25,0x10,0x55,0x55,0x55,0x55,0x55,0x55,0x55); SSD_SEND(0x01,0xEC,0x00,0x55,0x00,0x00,0x00,0x08); SSD_SEND(0x01,0x36,0x0C); SSD_SEND(0x01,0x3A,0x07); SSD_SEND(0x01,0xB2,0x09); SSD_SEND(0x01,0xB3,0x01); SSD_SEND(0x01,0xB4,0x01); SSD_SEND(0x01,0xB5,0x00,0x08,0x00,0x08); SSD_SEND(0x01,0xB6,0xC7,0x31);//#400RGB,x,400 SSD_SEND(0x01,0xA4,0xC0,0x63);//#Enable,First,Line,OP,,2022,4,19 SSD_SEND(0x01,0xA5,0x00,0x00,0x00,0x00,0x00,0x15,0x2A,0xBA,0x02); SSD_SEND(0x01,0xA6,0x00,0x00,0x00,0x00,0x00,0x15,0x2A,0xBA,0x02); SSD_SEND(0x01,0xBA,0x1A,0x0A,0x45,0x00,0x23,0x01,0x00); SSD_SEND(0x01,0xBB,0x00,0x24,0x00,0x2F,0x83,0x07,0x18,0x00); SSD_SEND(0x01,0xBC,0x00,0x24,0x00,0x2F,0x83,0x07,0x18,0x00); SSD_SEND(0x01,0xBD,0x22,0x11,0xFF,0xFF,0x55,0x44,0x77,0x66,0xFF,0xFF,0x0F); SSD_SEND(0x01,0xED,0xC3); SSD_SEND(0x01,0xE4,0x40,0x08,0x2F); SSD_SEND(0x01,0x35,0x00); DCS_Short_Write_NP(0x21); DCS_Short_Write_NP(0x21); DCS_Short_Write_NP(0x11); Delay(120); DCS_Short_Write_NP(0x29); Delay(120);