Setting up lvgl_micropython on the Sunton ESP32 2432S032C 3.2" Capacitive touch LCD board #277
gitcnd
started this conversation in
Board Specific
Replies: 1 comment 1 reply
-
Good job! It looks like your colour settings still need some tweaking, the default LVGL theme is blue so your slider has the R and B values swapped around. You can confirm by setting your background to 0xff0000, it's should go red but you will see it turn blue. Try fiddling with your settings for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Setting up lvgl_micropython on the Sunton ESP32 2432S032C 3.2" Capacitive touch LCD board
Below is how I got the screen and touch working on my Sunton ESP32 2432S032
Build:-
python3 make.py esp32 BOARD=ESP32_GENERIC BOARD_VARIANT=SPIRAM DISPLAY=st7789 INDEV=gt911
(Optional) backup your flash before overwriting it:
export PORT=/dev/ttyS6 esptool.py --port $PORT read_flash 0x0 0x400000 lcd_3.2inch_ESP32-2432S032C.bin
Flash:-
esptool.py --port $PORT write_flash 0x0 lvgl_micropy_ESP32_GENERIC-SPIRAM-4.bin
Upload a test:-
ampy --port $PORT put lvgl_test_2432S032C.py
Run it:-
mcu_serial.pl -port $PORT import lvgl_test_2432S032C.py
The test program:
cat lvgl_test_2432S032C.py
Screenshots:-
Note
This discussion has been edited: the RGB codes are now fixed, and the correct new screenshot included - thanks @0ut4t1m3
Beta Was this translation helpful? Give feedback.
All reactions