touchscreen

Example of the component espressif/esp_lvgl_port v2.2.2

ESP LVGL Touch Screen Example

Very simple example for demonstration of initialization and usage of the esp_lvgl_port component. This example contains four main parts:

1. LCD HW initialization - app_lcd_init()

Standard HW initialization of the LCD using esp_lcd component. Settings of this example are fully compatible with ESP-BOX board.

2. Touch HW initialization - 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.

3. LVGL port initialization - app_lvgl_init()

Initialization of the LVGL port.

4. LVGL objects example usage - 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"

or download archive (~10.95 KB)