NHD-14432WG-ATFH-V# Newhaven Display, NHD-14432WG-ATFH-V# Datasheet - Page 10

no-image

NHD-14432WG-ATFH-V#

Manufacturer Part Number
NHD-14432WG-ATFH-V#
Description
LCD MOD GRAPH 144X32 WH TRANSFL
Manufacturer
Newhaven Display
Series
NHD-14432WG-Ar
Datasheet

Specifications of NHD-14432WG-ATFH-V#

Display Type
LCD - Monochrome
Display Mode
Transflective
Viewing Area
66.00mm L x 16.00mm W
Backlight
LED - White
Dot Size
0.38mm W x 0.38mm H
Dot Pitch
0.42mm x 0.42mm
Dot Pixels
144 x 32
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Interface
-
Example Initialization Program 
 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
#include <REG52.H> 
#include "AL.h" 
sbit ID = P3^0; 
sbit RW = P3^7; 
sbit E  = P3^4; 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
void Init() 
 
 
 
 
 
 
 
 
 
 
  
 
  
   
 
  
 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
void Wcom(char i) 
 
 
 
 
 
 
 
void Wdata(char i) 
 
 
 
 
 
 
 
 
 
 
 
 
 
Wcom(0x38); 
Wcom(0x0C); 
Wcom(0x06); 
Wcom(0x02); 
Wcom(0x01); 
delay(10); 
Row = 0x80; 
for(Counthi = 1; Counthi <=32; Counthi++) 
 
 
 
 
 
 
 
 
P1 = i; 
ID = 0; //Reset P3.0 
RW = 0; //Reset P3.7 
E = 1; //Set P3.4 
delay(1); 
E = 0; //Reset P3.4 
P1 = i; 
ID = 1; //Set P3.0 
RW = 0; //Reset P3.7 
E = 1; //Set P3.4 
delay(1); 
E = 0; //Reset P3.4 
 
Wcom(0x3E); 
Wcom(Row); 
Wcom(0x80); 
for(Count = 1; Count <=40; Count++) 
 
Row++; 
Wdata(0x00); 
[10] 

Related parts for NHD-14432WG-ATFH-V#