NHD-C12864WO-B1TGH#-M Newhaven Display, NHD-C12864WO-B1TGH#-M Datasheet - Page 9
NHD-C12864WO-B1TGH#-M
Manufacturer Part Number
NHD-C12864WO-B1TGH#-M
Description
LCD Graphic Display Modules & Accessories COG FSTN(+) 128x64 128 x 64 Pixels
Manufacturer
Newhaven Display
Datasheet
1.NHD-C12864WO-B1TGH-M.pdf
(11 pages)
Specifications of NHD-C12864WO-B1TGH#-M
Lead Free Status / Rohs Status
Details
Example Initialization Program
/************************************************************************/
void comm_out(unsigned int c)
{
}
void data_out(unsigned int d)
{
}
void init()
{
CS1 = 0; //Active Low
AO = 0; //LOW = instruction
delay(1);
WRT = 0; // /WR in 8080 mode; R/W in 6800 mode
P1 = c;
delay(1);
WRT = 1; // /WR in 8080 mode; R/W in 6800 mode
CS1 = 1; //inactive
CS1 = 0; //Active Low
AO = 1; //High = Data
delay(1);
WRT = 0;
P1 = d;
delay(1);
WRT = 1;
CS1 = 1; //inactive
//IRS pin is tied low internally ‐ external resistor circuit must be used
C86 = 1; // Interface set to 8080 mode
RDD = 1; // /RD in 8080 mode; E in 6800 mode
[9]