NHD-320240WG-CoTFH-VZ# Newhaven Display, NHD-320240WG-CoTFH-VZ# Datasheet - Page 9

no-image

NHD-320240WG-CoTFH-VZ#

Manufacturer Part Number
NHD-320240WG-CoTFH-VZ#
Description
LCD Graphic Display Modules & Accessories FSTN(+) 320x240 154.7 x 120.2
Manufacturer
Newhaven Display

Specifications of NHD-320240WG-CoTFH-VZ#

Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
NHD-320240WG-CoTFH-VZ#-010-80
Manufacturer:
Newhaven Display Intl
Quantity:
135
Initialization Code 
 
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
#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() 
 
 
 
 
 
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); 

Related parts for NHD-320240WG-CoTFH-VZ#