[10]
TFT_7_Write_Data(0x00);
//SET Hsync pulse subpixel start po
sition
TFT_7_Write_Command(0xb6);
//SET VBP,
GPIO_SetBits(GPIOC, RS);
TFT_7_Write_Data(0x01);
//SET Vsync total = 496
TFT_7_Write_Data(0xef);
TFT_7_Write_Data(0x00);
//SET VBP=4
TFT_7_Write_Data(0x04);
TFT_7_Write_Data(0x01);
//SET Vsync pulse 2=1+1
TFT_7_Write_Data(0x00);
//SET Vsync pulse start position
TFT_7_Write_Data(0x00);
TFT_7_Write_Command(0x2a);
//SET column address
GPIO_SetBits(GPIOC, RS);
TFT_7_Write_Data(0x00);
//SET start column address=0
TFT_7_Write_Data(0x00);
TFT_7_Write_Data(0x03);
//SET end column address=799
TFT_7_Write_Data(0x1f);
TFT_7_Write_Command(0x2b);
//SET page address
GPIO_SetBits(GPIOC, RS);
TFT_7_Write_Data(0x00);
//SET start page address=0
TFT_7_Write_Data(0x00);
TFT_7_Write_Data(0x01);
//SET end page address=479
TFT_7_Write_Data(0xdf);
/*TFT_7_Write_Command(0x33);
//SET scroll area
GPIO_SetBits(GPIOC, RS);
TFT_7_Write_Data(0x00);
//SET top fixed area=0
TFT_7_Write_Data(0x00);
TFT_7_Write_Data(0x01);
//SET vertical scrolling area=479
TFT_7_Write_Data(0xdf);
TFT_7_Write_Data(0x00);
//SET bottom fixed area=0
TFT_7_Write_Data(0x00);
TFT_7_Write_Command(0x28);
//SET display off */
}
void TFT_7_Write_Command(unsigned char command)
{
GPIO_Write(GPIOB, command);
GPIO_ResetBits(GPIOC, RS);
GPIO_ResetBits(GPIOC, nWR);
GPIO_SetBits(GPIOC, nWR);
}
void TFT_7_Write_Data(unsigned char data1)
{
GPIO_SetBits(GPIOC, RS);
GPIO_Write(GPIOB, data1);
GPIO_ResetBits(GPIOC, nWR);
GPIO_SetBits(GPIOC, nWR);
}
void TFT_7_Command_Write(unsigned char REG,unsigned
char VALUE)
{
TFT_7_Write_Command(REG);
TFT_7_Write_Data(VALUE);
}
void TFT_7_SendData(unsigned long color)
相关PDF资料
NHD-7.0-800480WF-CTXI# LCD TFT 7" 800X480 WHT W/CTLR
NHD-C-12864CZ-FSW-GBW LCD COG GRAPH 128X64 WH TRANSFL
NHD-C0216AZ-FSW-GBW LCD COG CHAR 2X16 TRANSFL
NHD-C0216CIZ-FN-FBW-3V LCD COG CHAR 2X16 TRANSFL
NHD-C0216CIZ-FSW-FBW-3V3 LCD COG CHAR 2X16 TRANSFL
NHD-C0216CU-FN-GBW-3V LCD COG CHAR 2X16 NO TRANSFL
NHD-C0216CU-FSW-GBW-3V3 LCD COG CHAR 2X16 TRANSFL
NHD-C0216CZ-FSW-FBW-3V3 LCD COG CHAR 2X16 WHT TRANSFL
相关代理商/技术参数
NHD-C0216AZ-FN-GBW 功能描述:LCD字符显示模块与配件 2 x 16 STN-GRAY 49.7 x 25.3 x 2.1 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216AZ-FSW-GBW 功能描述:LCD字符显示模块与配件 STN-GRAY Transfl 54.7 x 25.3 x 5.5 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216CiZ-FN-FBW-3V 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 49.7 x 25.3 x 2.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216CiZ-FSW-FBW-3V3 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 56.0 x 25.3 x 5.5 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216CU-FN-GBW-3V 功能描述:LCD字符显示模块与配件 2 x 16 STN-GRAY 49.7 x 25.3 x 2.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216CU-FSW-GBW-3V3 功能描述:LCD 图形显示模块和配件 STN-GRAY Transfl 56.0 x 25.3 x 5.5 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216CZ-FSW-FBW-3V3 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 41.4 x 24.3 x 4.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-C0216CZ-NSW-BBW-3V3 功能描述:LCD字符显示模块与配件 STN-BLUE Transm 41.4 x 24.3 x 4.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk