NHD-12232DZ-FSPG-YBW Newhaven Display, NHD-12232DZ-FSPG-YBW Datasheet - Page 9
NHD-12232DZ-FSPG-YBW
Manufacturer Part Number
NHD-12232DZ-FSPG-YBW
Description
LCD Graphic Display Modules & Accessories STN-Y/G Transfl 65.8 x 27.2
Manufacturer
Newhaven Display
Datasheet
1.NHD-12232DZ-FSPG-YBW.pdf
(10 pages)
Specifications of NHD-12232DZ-FSPG-YBW
Pixel Density
122 x 32
Fluid Type
STN
Module Size (w X H X T)
65.8 mm x 27.2 mm x 6.5 mm
Backlighting
LED Pure Green
Operating Temperature Range
- 20 C to + 70 C
Product
Graphic LCD Module
Display Mode
Transflective
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example Initialization Program:
/*****************************************/
void Comleft(char i)
{
P1 = i;
R_W = 0;
D_I = 0;
E1 = 1;
delay(2);
E1 = 0;
}
void Comright(char i)
{
P1 = i;
R_W = 0;
D_I = 0;
E2 = 1;
delay(2);
E2 = 0;
}
void Writeleft(char i)
{
P1 = i;
R_W = 0;
D_I = 1;
E1 = 1;
delay(2);
E1 = 0;
}
void Writeright(char i)
{
P1 = i;
R_W = 0;
D_I = 1;
E2 = 1;
delay(2);
E2= 0;
}
/*****************************************/
void bothSides(char i)
{
Comleft(i);
Comright(i);
}
/*****************************************/
void init()
{
P1 = 0;
P3 = 0;
RST = 0;
delay(1);
RST = 1;
delay(10);
D_I = 0;
E1 = 1;
E2 = 1;
R_W = 1;
bothSides(0xE2);
delay(10);
bothSides(0xA4);
bothSides(0xA9);
bothSides(0xA0);
bothSides(0xEE);
bothSides(0xC0);
bothSides(0xAF);
}
/*****************************************/
//
//
Reset RST
Reset RST= M68 Interface
[9]