参数资料
型号: NHD-02161Z-FSY-YBW-C
厂商: Newhaven Display Intl
文件页数: 8/9页
文件大小: 534K
描述: LCD MOD CHAR 2X16 Y/G TRANSFL
产品培训模块: NHDev LCD Development Board
Character and Graphic LCD Display
标准包装: 50
系列: NHD-02161Z-F
显示器类型: STN - 超扭转向列
显示模式: 穿透/反射式
数字/字母数: 32
外形L x W x H: 53.00mm x 20.00mm x 8.00mm
可视范围: 36.00mm L x 10.00mm W
背光: LED - 黄/绿
显示格式: 12 x 2
字符尺寸: 3.15mm H x 1.85mm W
字符格式: 5 x 8 点
电源电压: 5.0V
点尺寸: 0.33mm W x 0.35mm H
工作温度: -20°C ~ 70°C
其它名称: NHD-02161Z-FSY-YBW
NHD-02161Z-FSY-YBW-ND
[8]?
?
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 lower 4 bits
i = i<<4; //Shift over by 4 bits
P1 = i; //put data on output Port
Nybble(); //Send upper 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 lower 4 bits
i = i<<4; //Shift over by 4 bits
P1 = i; //put data on output Port
Nybble(); //Clock upper 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 >15 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-0216B3Z-FL-GBW-V3 LCD MOD SER CHAR 2X16 Y/G TRANSF
NHD-0216BZ-FL-GBW LCD MOD CHAR 2X16 Y/G TRANSFL
NHD-0216BZ-FL-YBW LCD MOD CHAR 2X16 Y/G TRANSFL
NHD-0216BZ-RN-YBW LCD MOD CHAR 2X16 NO REFL
NHD-0216CZ-FL-YBW LCD MOD CHAR 2X16 Y/G TRANSFL
相关代理商/技术参数
参数描述
NHD-0216B3Z-FL-GBW 功能描述:LCD字符显示模块与配件 2 x 16 STN-GRAY 84.0 x 44.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216B3Z-FL-GBW-V3 功能描述:LCD字符显示模块与配件 2 x 16 STN-GRAY 84.0 x 44.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216B3Z-FL-GBW-V3-RC 功能描述:LCD字符显示模块与配件 2 x 16 STN-GRAY 84.0 x 44.0 Custom RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk 工作电源电压:
NHD-0216BZ-FL-GBW 功能描述:LCD字符显示模块与配件 STN- GRAY Transfl 84.0 x 44.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216BZ-FL-YBW 功能描述:LCD字符显示模块与配件 STN- Y/G Transfl 84.0 x 44.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk