SCA01810-TFN-LNN Shelly, Inc., SCA01810-TFN-LNN Datasheet - Page 10

no-image

SCA01810-TFN-LNN

Manufacturer Part Number
SCA01810-TFN-LNN
Description
Innovative Display Technologies 17171 Murphy Avenue
Manufacturer
Shelly, Inc.
Datasheet
void init_ILI9163B( )
{
write_command(0x11); // sleep out
DelayX1ms(20);
write_command(0x26); //Gamma set
write_data(0x00,0x04);
//write_command(0xf2); //E0h & E1h Enable/Disable
//write_data(0x00,0x00);
write_command(0xb1); //Frame Rate control
write_data(0x00,0x07);
write_data(0x00,0x14);
write_command(0xc0); //Set VRH1[4:0] & VC[2:0] for VCI1 & GVDD
write_data(0x00,0x0c);
write_data(0x00,0x05);//0x0000
write_command(0xc1); //Set BT[2:0] for AVDD & VCL & VGH & VGL
write_data(0x00,0x02);
write_command(0xc5); //VCOM Control;Set VMH[6:0] & VML[6:0] for VOMH & VCOML
write_data(0x00,0x29);//0029
write_data(0x00,0x43);
write_command(0xc2); //add
write_data(0x00,0x05);//
write_data(0x00,0x06);
write_command(0xc7); //VCOM Offset Control;
write_data(0x00,0x42);
write_command(0x3a); //Interface Pixel Format:0x05-16bit/pixel
write_data(0x00,0x05);
write_command(0x2a);
write_data(0x00,0x00);
write_data(0x00,0x00);
write_data(0x00,0x00);
write_data(0x00,0x7f);
write_command(0x2b);
write_data(0x00,0x00);
write_data(0x00,0x00);
write_data(0x00,0x00);
write_data(0x00,0x9f);
RECOMMEND INITIAL CODE
10 |
P a g e

Related parts for SCA01810-TFN-LNN