NHD-C128128CZ-FN-GBW Newhaven Display, NHD-C128128CZ-FN-GBW Datasheet - Page 9
![LCD MOD GRAPH 128X128 TRANSFL](/photos/28/26/282666/mfg_nhd-c128128cz-fn-gbw_sml.jpg)
NHD-C128128CZ-FN-GBW
Manufacturer Part Number
NHD-C128128CZ-FN-GBW
Description
LCD MOD GRAPH 128X128 TRANSFL
Manufacturer
Newhaven Display
Datasheet
1.NHD-C128128CZ-FN-GBW.pdf
(10 pages)
Specifications of NHD-C128128CZ-FN-GBW
Display Type
LCD - Monochrome
Display Mode
Transflective
Viewing Area
73.00mm L x 73.00mm W
Backlight
Without Backlight
Dot Pixels
128 x 128
Interface
Parallel
Pixel Density
128 x 128
Fluid Type
STN
Module Size (w X H X T)
84 mm x 87 mm x 2.8 mm
Backlighting
None
Operating Temperature Range
- 20 C to + 70 C
Product
Graphic LCD Module
Style
Chip-on-Glass (COG)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Dot Size
-
Dot Pitch
-
Lead Free Status / Rohs Status
Details
Example Initialization Program
/**************************************************************************************/
void write_command(unsigned char i)
{
A0=0;
E=1;
P1 = i;
CSB=0;
RW=0;
RW=1;
CSB=1;
}
/**************************************************************************************/
/**************************************************************************************/
void write_data(unsigned char i)
{
A0=1;
E=1;
P1 = i;
CSB=0;
RW=0;
RW=1;
CSB=1;
}
/**************************************************************************************/
/**************************************************************************************/
void initEEPROM(void){
}
/**************************************************************************************/
/**************************************************************************************/
void lcd_init(void){
write_command(0x30);
write_command(0xD1);
write_command(0x20);
write_command(0x81);
write_command(0xCA);
write_data(0x00);
write_command(0xA7);
write_command(0xBB);
write_data(0x01);
write_command(0xBC);
write_data(0x01);
write_command(0x32);
write_command(0x30);
write_command(0x07);
write_data(0x19);
write_command(0x31);
write_command(0xCD);
write_data(0x00);
delay(8);
write_command(0xFD);
delay(4);
write_command(0xCC);
write_command(0x30);
write_command(0x94);
delay(2);
write_data(0x0B);
delay(8);
write_data(0x3F);
write_data(0x04);
write_data(0x00);
write_data(0x27);
write_data(0x00);
write_data(0x02);
write_command(0x31);
write_data(0x06);
write_data(0x01);
write_data(0x00);
write_command(0x22);
//extended set off
//OCS on
//power control
//electronic control
//display control
//normal display
//com direction
//scan direction
//analog circuit set
/*put data on port 1*/
//ST7529
//sleep out
//booster
//vop=14.0v
//CL=X1
//Duty=128
//FR set
//normal
//RGB arrangement
//65k color
//ext instruction
//osc frequency
//booster efficiency
//bias = 1/4
/*Instruction register*/
/*Read inactive*/
/*Chip select active*/
/*Write active*/
/*Write inactive; latch in data*/
/*Chip select inactive*/
/*DDRAM data register*/
//ext=0
//ext=1
//ext=0
[9]