-
Hardware:
- 1 x ESP32_LCD_EB_V1 HMI development board (for this example, it has to be used with the ESP32_DevKitC development board)
- 1 x display (2.8 inches, 240x320 pixels, ILI9341 LCD + XPT2046 Touchscreen)
-
Software:
-
Setup: see README.md
For detailed information on LittlevGL and related configuration, please refer to LittlevGL Guide.
See the connection image below:
The pins to be connected:
Name | Pin |
---|---|
CLK | 22 |
MOSI | 21 |
MISO | 27 |
CS(LCD) | 5 |
DC | 19 |
RESET | 18 |
LED | 23 |
CS(Touch) | 32 |
IRQ | 33 |
- Open Terminal and navigate to the directory
examples/hmi/lvgl_example
- Run
make defconfig
(Make) oridf.py defconfig
(CMake) to apply the default configuration - Run
make menuconfig
(Make) oridf.py menuconfig
(CMake) to set up the flashing-related configuration - Run
make -j8 flash
(Make) oridf.py flash
(CMake) to build the example and flash it to the device