NHD-320240WG-BOSMI-VZ# Newhaven Display, NHD-320240WG-BOSMI-VZ# Datasheet - Page 9
NHD-320240WG-BOSMI-VZ#
Manufacturer Part Number
NHD-320240WG-BOSMI-VZ#
Description
LCD Graphic Display Modules & Accessories STN-Blue (-) Transm 166.8 x 109.0
Manufacturer
Newhaven Display
Datasheet
1.NHD-320240WG-BOTMI-VZ.pdf
(10 pages)
Specifications of NHD-320240WG-BOSMI-VZ#
Pixel Density
320 x 240
Fluid Type
FSTN Negative
Module Size (w X H X T)
166.8 mm x 109 mm x 11 mm
Backlighting
LED Super Bright White
Operating Temperature Range
- 20 C to + 70 C
Style
LCD Graphic Display
Interface
Parallel
Display Mode
Transmissive
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example Initialization Program:
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
#define A0 P3_0
#define RW P3_7
#define E P3_4
#define CS P3_1
#define RESET P3_6
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
void data_out(unsigned char i) //Data Output 16‐bit Bus Interface
{
}
void comm_out(unsigned char j) //Command Output 8‐bit Bus Interface
{
}
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
// Initialization For RA8835
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
void resetLCD()
{
}
void init_LCD()
{
comm_out(0x40);
A0 = 0;
P1 = i;
CS = 0;
RW = 0;
E = 1;
delay(1);
E = 0;
RW = 1;
CS = 1;
A0 = 1;
P1 = j;
CS = 0;
RW = 0;
E = 1;
delay(1);
E = 0;
RW = 1;
CS = 1;
RESET = 0;
delay(5);
RESET = 1;
delay(10);