I am trying to change a screen/display’s color from code. Initially the background is black - set from Squareline.
Reading the docs, I tried the following code without success:
lv_color_t my_color = lv_color_hex(0xFFFFFF); lv_disp_t * d = lv_obj_get_disp(ui_SettingsScreen); lv_disp_set_bg_color(d, my_color);
Any ideas why this is not working? I will keep trying.