NHD-240128WG-ATMI-VZ# Newhaven Display, NHD-240128WG-ATMI-VZ# Datasheet - Page 9
![LCD MOD GRAPHIC 240X128 TRANSM](/photos/7/92/79214/nhd-240128wg-atmi-vz__sml.jpg)
NHD-240128WG-ATMI-VZ#
Manufacturer Part Number
NHD-240128WG-ATMI-VZ#
Description
LCD MOD GRAPHIC 240X128 TRANSM
Manufacturer
Newhaven Display
Datasheet
1.NHD-240128WG-ATMI-VZ.pdf
(10 pages)
Specifications of NHD-240128WG-ATMI-VZ#
Display Type
STN - Super-Twisted Nematic
Display Mode
Transmissive
Viewing Area
128.00mm L x 75.00mm W
Backlight
LED - White
Dot Size
0.47mm W x 0.47mm H
Dot Pitch
0.50mm x 0.50mm
Dot Pixels
240 x 128
Interface
Parallel
Pixel Density
240 x 128
Fluid Type
STN Negative
Module Size (w X H X T)
170 mm x 93.4 mm x 12.4 mm
Backlighting
LED White
Operating Temperature Range
- 20 C to + 70 C
Product
Graphic LCD Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Initialization Code
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Sub Writecom
P1 = A 'move data to port 1
Set P3.0 'set I/D for instruction
Reset P3.1 'reset /CS
Reset P3.4 'reset /WR
Set P3.1 'set /CS
Set P3.4 'set /WR
End Sub
Sub Writedata
P1 = A 'move data to port 1
Reset P3.0 'reset I/D for instruction
Reset P3.1
Reset P3.4 'toggle /CS and /WR
Set P3.1
Set P3.4
End Sub
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Sub Init
Set P3.6
Set P3.7
Reset P3.3 'reset FS
A = &H00
Call Writedata
Call Writedata 'text address = 0000h
A = &H40
Call Writecom 'text home address set
A = &H00
Call Writedata
A = &H40 'graphic home address = 4000h
Call Writedata
A = &H42
Call Writecom 'graphic home address set
A = &H1E
Call Writedata
A = &H00 'text area address = 001Eh
Call Writedata
A = &H41
Call Writecom 'text area control set
A = &H1E
Call Writedata
A = &H00 'graphic area = 001Eh
Call Writedata
A = &H43
Call Writecom 'graphic area control set
A = &H80
Call Writecom 'set display mode
End Sub
[9]