NHD-160128WG-BTGH-VZ#-1 Newhaven Display, NHD-160128WG-BTGH-VZ#-1 Datasheet - Page 8

LCD Graphic Display Modules & Accessories STN-Gray Transfl 129.0 x 102.0

NHD-160128WG-BTGH-VZ#-1

Manufacturer Part Number
NHD-160128WG-BTGH-VZ#-1
Description
LCD Graphic Display Modules & Accessories STN-Gray Transfl 129.0 x 102.0
Manufacturer
Newhaven Display

Specifications of NHD-160128WG-BTGH-VZ#-1

Pixel Density
160 x 128
Fluid Type
STN
Module Size (w X H X T)
129 mm x 102 mm x 14 mm
Backlighting
LED White
Background Color
Gray
Operating Temperature Range
- 20 C to + 70 C
Style
LCD Graphic Display
Interface
Parallel
Display Mode
Transflective
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example Initialization Program 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
sbit ID = P3^1; 
sbit CS = P3^1; 
sbit RW = P3^0; 
sbit CE  = P3^4; 
//sbit READ = P0^0; 
sbit FS = P3^2; 
sbit RST = P3^6; 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
void Writecom(char i) 
 P1 = i; 
 ID = 1;  
 CE = 0; 
 RW = 0; 
 //delay(1); 
 RW = 1; 
 CE = 1; 
 //delay(1); 
 
void Writedata(char i) 
 P1 = i; 
 ID = 0; 
 CE = 0; 
 RW = 0; 
 //delay(1); 
 RW = 1; 
 CE = 1; 
 //delay(1); 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
void Init() 
 RST = 1; 
 RD = 1; 
 FS = 0; 
 
 Writedata(0x00); 
 Writedata(0x00); 
 Writecom(0x40); 
 Writedata(0x00); 
 Writedata(0x40); 
 Writecom(0x42); 
 Writedata(0x1E); 
 Writedata(0x00); 
 Writecom(0x41); 
 Writedata(0x1E); 
 Writedata(0x00); 
 Writecom(0x43); 
 Writecom(0x80); 
 
 
 
[8] 
 

Related parts for NHD-160128WG-BTGH-VZ#-1