Created separate component for backlight control

-> Uses Timer 0, Channel 0 as PWM to control
   backlight via LED pin

Signed-off-by: Rajssss <sssraj.sssraj@gmail.com>
This commit is contained in:
Rajssss 2021-06-26 12:10:41 +05:30
parent a17a77b923
commit 5d4334a5b9
No known key found for this signature in database
GPG key ID: 5D2F803A3F7DD428
6 changed files with 96 additions and 50 deletions

View file

@ -2,7 +2,7 @@ if(ESP_PLATFORM)
file(GLOB SOURCES *.c)
set(LVGL_INCLUDE_DIRS . lvgl_tft)
list(APPEND SOURCES "lvgl_tft/disp_driver.c")
list(APPEND SOURCES "lvgl_tft/disp_driver.c" "lvgl_tft/esp_lcd_backlight.c")
#@todo add SimleInclude macro here