Description
What MCU/Processor/Board and compiler are you using? Arduino on ESP32 Sunton Board
What LVGL version are you using? 8.3.11
What do you want to achieve?
Set a lot of checkboxes (ui_Screen0 til ui_screen9) to enabled.
What have you tried so far?
Array of Names…
Code to reproduce
The code block(s) should be formatted like:
void set_screen_states() {
// Set all states to checkes
lv_obj_add_state(ui_screen0, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen1, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen2, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen3, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen4, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen5, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen6, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen7, LV_STATE_CHECKED);
lv_obj_add_state(ui_screen8, LV_STATE_CHECKED);
}
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.