Greetings.
I’ve made a test interface for Arduino IDE using Squareline version 1.5.1 and LVGL version 8.3.11. The idea is to turn an LED on and off using a button. I’ve assigned the “CALL_FUNCTION” action to the button in the “RELEASED” event, exported the files, compiled in Arduino IDE, and everything is fine. The image displays correctly and the button responds to touches, but the function to turn the LED on and off never executes.
Looking through some examples, I realized that for some reason, the program always omits a line of code in the event function: “lv_obj_t * target = lv_event_get_target(e);” and no matter which event I select, that line is always missing.
Is this a bug in the program, or am I missing something?