-
Hardware:
- 1 x ESP32_LCD_EB_V1 development board (for this example, it has to be used with the ESP32_DevKitC development board)
- 1 x display (4.3 inches, 480x800 pixels, NT35510 LCD + FT5X06 Touchscreen)
-
Software:
-
Setup: see README.md
For detailed introduction on μGFX and related configuration, please refer to μGFX Guide.
See the connection image below:
The pins to be connected:
Name | Pin | Name | Pin |
---|---|---|---|
WR | 18 | SCL | 3 |
RS | 5 | SDA | 1 |
D0 | 19 | D8 | 25 |
D1 | 21 | D9 | 26 |
D2 | 0 | D10 | 12 |
D3 | 22 | D11 | 13 |
D4 | 23 | D12 | 14 |
D5 | 33 | D13 | 15 |
D6 | 32 | D14 | 2 |
D7 | 27 | D15 | 4 |
- Open Terminal and navigate to the directory
examples/hmi/ugfx_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