Very simple example for demonstration of initialization and usage of the esp_lvgl_port
component. This example contains four main parts:
app_lcd_init()
Standard HW initialization of the LCD using esp_lcd
component. Settings of this example are fully compatible with ESP-BOX board.
app_touch_init()
Standard HW initialization of the LCD touch using esp_lcd_touch
component. Settings of this example are fully compatible with ESP-BOX board.
app_lvgl_init()
Initialization of the LVGL port.
app_main_display()
Very simple demonstration code of using LVGL objects after LVGL port initialization.
To create a project from this example, run:
idf.py create-project-from-example "espressif/esp_lvgl_port=2.2.2:touchscreen"