C0216CU-FN-GBW Newhaven Display, C0216CU-FN-GBW Datasheet - Page 10

LCD Character Display Modules 2 X 16 STN GREY 49.7 X 25.3 X 2.0

C0216CU-FN-GBW

Manufacturer Part Number
C0216CU-FN-GBW
Description
LCD Character Display Modules 2 X 16 STN GREY 49.7 X 25.3 X 2.0
Manufacturer
Newhaven Display
Datasheet

Specifications of C0216CU-FN-GBW

Character Count X Line
16 x 2
Module Size (w X H X T)
49.7 mm x 25.3 mm x 2 mm
Fluid Type
STN
Background Color
Gray
Voltage Rating
3 V
Operating Temperature Range
- 20 C to + 70 C
Backlight Type
None
Display Mode
Transflective
Interface
Parallel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example Initialization Program 
 
/********************************************************************************/
/********************************************************************************/
void init()
{
}
/********************************************************************************/
void writecom(int c)
{
}
/********************************************************************************/
void writedata(int d)
{
}
/********************************************************************************/
/********************************************************************************/
 
 
P3 = 1;
P1 = 1;
RST = 0;
delay(2);
RST = 1;
delay(20);
Writecom(0x30);
delay(2);
Call writecom(0x30);
Call writecom(0x30);
Call writecom(0x39);
Call writecom(0x14);
Call writecom(0x56);
Call writecom(0x6D);
Call writecom(0x70);
Call writecom(0x0C);
Call writecom(0x06);
Call writecom(0x01);
delay(10);
CS = 0;
RS = 0;
P1 = d;
CS = 1;
CS = 0;
RS = 1;
P1 = d;
CS = 1;
//initialize the LCD
//CS
//A0 = Command
//CS
//A0 = Data
//RESET
//end reset
//wake up
//wake up
//wake up
//function set
//internal osc frequency
//power control
//contrast
//entry mode
//clear
//follower control
//display on
[10] 

Related parts for C0216CU-FN-GBW