Location:
Search - 7735
Search list
Description: TFT几种IC的初始化原码,供大家参考,希望能帮到大家。-Several IC TFT initialization of the original code for reference, hope can help you.
Platform: |
Size: 1024 |
Author: 刘慧成 |
Hits:
Description: Void ST7735RPanelInitialCode (void)
{
//--- --- --- --- --- --- ST7735R Reset Sequence--- --- --- --- --- --- -----//
LCD_RESET=1
Delayms (1) //Delay 1ms
LCD_RESET=0
Delayms (1) //Delay 1ms
LCD_RESET=1
Delayms (120) //Delay 120ms
//--- --- --- --- --- --End ST7735R Reset Sequence --- --- --- --- --- --- --//
Write(COMMAND,0x11) //Sleep out
Delayms (120) //Delay 120ms
//--- --- --- --- --- --- ST7735R Frame Rate-----------------------------------------//
Write(COMMAND,0xB1)
Write(DATA,0x01)
Write(DATA,0x2C)
Write(DATA,0x2D)
Write(COMMAND,0xB2)
Write(DATA,0x01)
Write(DATA,0x2C)
Write(DATA,0x2D)
Write(COMMAND,0xB3)
Write(DATA,0x01)
Write(DATA,0x2C)
Write(DATA,0x2D) -Void ST7735RPanelInitialCode (void) {//------------------------------------ ST7735R Reset Sequence-----------------------------------------// LCD_RESET = 1 Delayms (1) // Delay 1ms LCD_RESET = 0 Delayms (1) // Delay 1ms LCD_RESET = 1 Delayms (120) // Delay 120ms //-------------------------------- End ST7735R Reset Sequence--------------------------------------// Write (COMMAND, 0x11) // Sleep out Delayms (120) // Delay 120ms //------------------------------------ ST7735R Frame Rate-----------------------------------------// Write (COMMAND, 0xB1) Write (DATA, 0x01) Write (DATA, 0x2C) Write (DATA, 0x2D) Write (COMMAND, 0xB2) Write (DATA, 0x01) Write (DATA, 0x2C) Write (DATA, 0x2D) Write (COMMAND, 0xB3) Write (DATA, 0x01) Write (DATA, 0x2C) Write (DATA, 0x2D)
Platform: |
Size: 1024 |
Author: adsf |
Hits:
Description: ST7735R所有的资料和初始化代希望有需要的可以-All ST7735R information and initialization code, I hope there is a need to look at
Platform: |
Size: 2446336 |
Author: ZHANG |
Hits: