Embedded Artists RGB OLED 128x128 px EA-LCD-008 EA-LCD-008 Hoja De Datos
Los códigos de productos
EA-LCD-008
悠景科技股份有限公司
17
write_c(0xc1); // Set contrast current for A B C
write_d(0xc8);
write_d(0x80);
write_d(0xc8);
write_c(0xc7); // Set master contrast
write_d(0x0f);
write_c(0xca); // Duty
write_d(0x7f);
write_c(0xaf); // Display on
7.2.1 Sub Function for 80 Interface
void write_c(unsigned char out_command)
{
DC=0;
CS=0;
RW=0;
P1=out_command;
RW=1;
CS=1;
DC=1;
}
void write_d(unsigned char out_data)
{
DC=1;
CS=0;
RW=0;
P1=out_data;
RW=1;
CS=1;
DC=0;
}
Note:1.For 80 series CPU interface.
2.For 8 Bbit Ttiple Transfer 65K support.