*If video was helpful give a like PLEASE*
LVGL ESP32-2432S028R CYD learn about button events (Beginner)
GitHub:
[ Ссылка ]
[ Ссылка ]
LVGL ESP32-2432S028R CYD Beginners tutorial on button events
- How to add an event handler to button and pass UI elements to the handler
- How to implement the event handler and update label and button states.
00:00 - Create a UI with 4 buttons and a label?
00:45 - Build the glue code for Arduino?
02:05 - Configure event handlers for each button?
02:27 - Event handler 1st Button?
04:09 - Event handler 2nd Button?
05:30 - Event handler 3rd Button?
06:03 - Event handler 4th Button?
07:08 - Final Results?
Software Used:
ESP32 Dev Module
Arduino 2.3.2
LVGL 9.1.0
EEZ Studio 0.16.0
Assumes:
- you are familiar with ESP32-2432S028R AKA Cheap Yellow Display (CYD)
- [ Ссылка ]
- you've already setup all the required libraries for ESP32-2432S028R and LVGL
- [ Ссылка ]
- Great setup instructions
- [ Ссылка ]
- This has lots of examples for LVGL
- you've done basic tutorials for LVGL with CYD
I use EEZ Studio because they support LVGL 9 and don't require login like Squareline.
I am learning about LVGL and ESP32 and documenting what I learn so it may help others.
Note: these tutorials can be done on any displays supporting LVGL.
Ещё видео!