What MCU/Processor/Board and compiler are you using?
ESP32 D0WDQ6-V3 (M5Stack Core2) on Arduino IDE
What LVGL version are you using?
8.3.3
What do you want to achieve?
So, I have a simple project that I created with SquareLine studio that calls a function when a switch’s value is changed. In that function I want to print to serial the state of the switch each time it is updated.
Sorry if this is the wrong place to ask, I am a beginner.
What have you tried so far?
Using the code from the documentation
Code to reproduce
void DACChanged(lv_event_t * e)
{
Serial.println("DAC Changed! Value= " + lv_switch_get_state(ui_DACSwitch));
}