NHD-240128BZ-NSW-BTW-3V3 Newhaven Display, NHD-240128BZ-NSW-BTW-3V3 Datasheet - Page 11

LCD Graphic Display Modules & Accessories STN-Blue (-) Transm 93.0 x 65.0

NHD-240128BZ-NSW-BTW-3V3

Manufacturer Part Number
NHD-240128BZ-NSW-BTW-3V3
Description
LCD Graphic Display Modules & Accessories STN-Blue (-) Transm 93.0 x 65.0
Manufacturer
Newhaven Display

Specifications of NHD-240128BZ-NSW-BTW-3V3

Pixel Density
240 x 128
Fluid Type
STN Negative
Module Size (w X H X T)
93 mm x 65 mm x 9.9 mm
Backlighting
Side LED White
Operating Temperature Range
- 20 C to + 70 C
Product
Graphic LCD Module
Display Mode
Transmissive
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example Initialization Program 
 
 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
sbit A0 = P3^0; 
sbit RW = P3^7; 
sbit E  = P3^4; 
sbit CS = P3^1; 
sbit IM 
sbit RST= P3^2; 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
void Writecom(int A) 
 
 
 
 
 
 
 
 
void Write(int A) 
 
 
 
 
 
 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
void init() 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
= P3^6; 
CS = 0;  
RW = 0; 
A0 = 1; 
E  = 1;  
P1 = A; 
E  = 1;  
CS = 0;  
RW = 0;  
A0 = 0;  
E  = 1;  
P1 = A; 
E  = 1;  
IM  = 1;  
RST = 0;  
delay(10); 
RST = 1; 
delay(100); 
Writecom(0x40); 
Write(0x30); 
Write(0x87); 
Write(0x07); 
Write(0x1D); 
Write(0x50); 
Write(0x80); 
Write(0x1E); 
Write(0x00); 
Writecom(0x44); 
Write(0x00); 
Write(0x00); 
Write(0x80); 
Write(0x00); 
Write(0x40); 
Write(0x80); 
Write(0x00); 
Write(0x00); 
Write(0x00); 
Write(0x00); 
Write(0x5A); 
Write(0x00); 
Write(0x5B); 
Write(0x0C); 
Write(0x4C); 
Write(0x46); 
 
 
[11] 

Related parts for NHD-240128BZ-NSW-BTW-3V3