EVK-CONNECT-008 DENSITRON, EVK-CONNECT-008 Datasheet - Page 32

no-image

EVK-CONNECT-008

Manufacturer Part Number
EVK-CONNECT-008
Description
CONNECTION BOARD, FOR 149-8843/5/7, EVK
Manufacturer
DENSITRON
Datasheet

Specifications of EVK-CONNECT-008

Svhc
No SVHC (18-Jun-2010)
Rohs Compliant
YES
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
5.1 Recommended Initial code
void initial(void)
{
BS1=1; // use 8080 interface
BS2=1;
DC=0;
WR=0;
RD=0;
CS=0;
RES=0;
delay(100);
RES=1;
write_c(0xAE); //display off
write_c(0x81); //set contrast
write_c(0xff); //max current
write_c(0xa8); //set duty
write_c(0x1F); //duty 31
write_c(0xA0); //Set Segment Re-map
write_c(0xd3); //display offset
write_c(0x20); //set 32
write_c(0x40); //Start line
write_c(0xC8); //Set COM Output Scan Direction
write_c(0xda); //Set COM pins hardware configuration
write_c(0x12); //Set COM pins hardware configuration
write_c(0xD9); //Set precharge
write_c(0xf1); //precharge=fh , discharge=1h
write_c(0xDB); //Set VcomH
write_c(0x49); //VcomH=73
write_c(0xA4); //Normal Mode
write_c(0xA6); //No Inverse
write_c(0xAF); //display on
}
void write_c(unsigned char ins_c)
{
DC=0;
CS=0;
RD=1; /*tell system only write*/
WR=0;
d_bus=ins_c;
WR=1;
CS=1;
DC=1;
}
Product No.
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
DD-2832BE-2A
REV. A
Page
10 / 11

Related parts for EVK-CONNECT-008