参数资料
型号: NHD-0216HZ-FL-YBW-C
厂商: Newhaven Display Intl
文件页数: 3/12页
文件大小: 1272K
描述: LCD MOD CHAR 2X16 Y/G TRANSFL
产品培训模块: NHDev LCD Development Board
Character and Graphic LCD Display
标准包装: 50
系列: NHD-0216HZ-F
显示器类型: STN - 超扭转向列
显示模式: 穿透/反射式
数字/字母数: 32
外形L x W x H: 65.50mm x 36.70mm x 13.50mm
可视范围: 54.00mm L x 14.40mm W
背光: LED - 黄/绿
显示格式: 16 x 2
字符尺寸: 4.99mm H x 2.55mm W
字符格式: 5 x 8 点
电源电压: 5.0V
点尺寸: 0.47mm W x 0.58mm H
工作温度: -20°C ~ 70°C
[11]?
?
4-bit Initialization:
/**********************************************************/
void command(char i)
{
P1 = i; //put data on output Port
D_I =0; //D/I=LOW : send instruction
R_W =0; //R/W=LOW : Write
Nybble(); //Send upper 4 bits
i = i<<4; //Shift over by 4 bits
P1 = i; //put data on output Port
Nybble(); //Send lower 4 bits
}
/**********************************************************/
void write(char i)
{
P1 = i; //put data on output Port
D_I =1; //D/I=HIGH : send data
R_W =0; //R/W=LOW : Write
Nybble(); //Clock upper 4 bits
i = i<<4; //Shift over by 4 bits
P1 = i; //put data on output Port
Nybble(); //Clock lower 4 bits
}
/**********************************************************/
void Nybble()
{
E = 1;
Delay(1); //enable pulse width >= 300ns
E = 0; //Clock enable: falling edge
}
/**********************************************************/
void init()
{
P1 = 0;
P3 = 0;
Delay(100); //Wait >40 msec after power is applied
P1 = 0x30; //put 0x30 on the output port
Delay(30); //must wait 5ms, busy flag not available
Nybble(); //command 0x30 = Wake up
Delay(10); //must wait 160us, busy flag not available
Nybble(); //command 0x30 = Wake up #2
Delay(10); //must wait 160us, busy flag not available
Nybble(); //command 0x30 = Wake up #3
Delay(10); //can check busy flag now instead of delay
P1= 0x20; //put 0x20 on the output port
Nybble(); //Function set: 4-bit interface
command(0x28); //Function set: 4-bit/2-line
command(0x10); //Set cursor
command(0x0F); //Display ON; Blinking cursor
command(0x06); //Entry Mode set
}
/**********************************************************/
相关PDF资料
PDF描述
NHD-0216HZ-FL-YBW LCD MOD CHAR 2X16 Y/G TRANSFL
NHD-0216HZ-FSW-FBW-3V3C LCD MOD CHAR 2X16 TRANSFL
NHD-0216K1Z-FL-GBW LCD MOD CHAR 2X16 Y/G TRANSFL
NHD-0216K1Z-FL-YBW LCD MOD CHAR 2X16 Y/G TRANSFL
NHD-0216K1Z-FSA-FBW-L LCD MOD CHAR 2X16 AMB TRANSFL
相关代理商/技术参数
参数描述
NHD-0216HZ-FSW-FBW-33V3C 功能描述:LCD字符显示模块与配件 LCD Character Display RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216HZ-FSW-FBW-3V3C 功能描述:LCD字符显示模块与配件 STN Gray Tranf 65.5 x 36.7 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216HZ-FSW-GBW-3V3C 功能描述:LCD字符显示模块与配件 STN- GRAY Transfl 65.5 x 36.7 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216K1Z-FL-GBW 功能描述:LCD字符显示模块与配件 STN- GRAY Transfl 80.0 x 36.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216K1Z-FL-YBW 功能描述:LCD字符显示模块与配件 STN- Y/G Transfl 80.0 x 36.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk