Skip to content

Latest commit

 

History

History

PlatformIO

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

PlatformIO Example

The example is used to guide how to use this library in PlatformIO. It also demonstrates how to port LVGL(v8). And for RGB LCD, it can enable the avoid tearing function.

It is by default suitable for ESP32-S3-LCD-EV-Board and ESP32-S3-LCD-EV-Board-2 boards. Users should modify the boards/ESP-LCD.json file as needed.

How to Use

Follow the steps below to configure:

  1. For ESP32_Display_Panel:

    • Follow the steps to configure drivers if needed.
    • If using a supported development board, follow the steps to configure it.
    • If using a custom board, follow the steps to configure it.
  2. For lvgl:

    • Follow the steps to add lv_conf.h file and change the configurations.
    • Modify the macros in the lvgl_port_v8.h file to configure the LVGL porting parameters.
  3. Navigate to the Tools menu in the Arduino IDE to choose a ESP board and configure its parameters. For supported boards, please refter to Configuring Supported Development Boards

  4. Verify and upload the example to your ESP board.

Serial Output

...
LVGL porting example start
Initialize panel device
Initialize LVGL
Create UI
LVGL porting example end
IDLE loop
IDLE loop
...

Troubleshooting

Please check the FAQ first to see if the same question exists. If not, please create a Github issue. We will get back to you as soon as possible.