display bsp: Move ESP32 pin specific code to display_bsp
This commit is contained in:
parent
0b09769dcc
commit
49a3ba84b4
2 changed files with 42 additions and 0 deletions
9
lvgl_tft/display_bsp.h
Normal file
9
lvgl_tft/display_bsp.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef DISPLAY_BSP_H_
|
||||
#define DISPLAY_BSP_H_
|
||||
|
||||
void display_bsp_delay(uint32_t delay_ms);
|
||||
void display_bsp_backlight(uint8_t state);
|
||||
void display_bsp_gpio_dc(uint8_t state);
|
||||
void display_bsp_gpio_rst(uint8_t state);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue