NHD-7.0-800480WF-CTXI# Newhaven Display, NHD-7.0-800480WF-CTXI# Datasheet - Page 9
NHD-7.0-800480WF-CTXI#
Manufacturer Part Number
NHD-7.0-800480WF-CTXI#
Description
TFT Displays & Accessories 7.0 TFT 800x480 165.0 x 104.4 x 7.09
Manufacturer
Newhaven Display
Datasheet
1.NHD-7.0-800480WF-CTXI.pdf
(11 pages)
Specifications of NHD-7.0-800480WF-CTXI#
Lead Free Status / Rohs Status
Details
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)
{
GPIO_SetBits(GPIOC, RS);
GPIO_Write(GPIOB, (color>>16));
GPIO_ResetBits(GPIOC, nWR);