/** 0: Displays performance data on the screen; 1: Prints performance data using log. */ #define LV_USE_PERF_MONITOR_LOG_MODE 0 #endif /** 1: Show used memory and memory fragmentation. * - Requires `LV_USE_STDLIB_MALLOC = LV_STDLIB_BUILTIN` * - Requires `LV_USE_SYSMON = 1`*...
void ui_Screen2_screen_init(void) { ui_Screen2 = lv_obj_create(NULL); lv_obj_clear_flag(ui_Screen2, LV_OBJ_FLAG_SCROLLABLE); /// Flags lv_obj_add_event_cb(ui_Screen2, scr_unloaded_delete_cb, LV_EVENT_SCREEN_UNLOADED, &ui_Screen2); } Sometimes when moving between widget scree...
(lv.objwith no parent) are automatically assigned to default display, therefore not collected by gc even when no longer explicitly referenced. When you want to free a screen and all its descendants so gc could collect their memory, make sure you callscreen.delete()when you no longer need ...
Currently, although the screen shows anomalies for some components like switches and buttons, the program occasionally freezes and there is a small chance that these components are displayed correctly. The program gets stuck at vg_lite_finish(), and upon further debugging, I found that ...
err = nvs_set_u16(my_handle, "screen_lum", val); ESP_LOGI(TAG," NVS err:%d",err); nvs_commit(my_handle); nvs_close(my_handle); GeSHi © Codebox Plus Extension Screen.png (13.35 KiB) Viewed 3638 times Screen shifted.png (107.62 KiB) Viewed 3638 times No error returned. I cal...
/** 0: Displays performance data on the screen; 1: Prints performance data using log. */ #define LV_USE_PERF_MONITOR_LOG_MODE 0 #endif /** 1: Show used memory and memory fragmentation. * - Requires `LV_USE_STDLIB_MALLOC = LV_STDLIB_BUILTIN` * - Requires `LV_USE_SYSMON =...
After trying, I found that the camera screen only works smoothly when the LVGL task is closed. Currently, Layer0 is the GUI and Layer1 is the camera. I would like to add another Layer2 when Layer0 is closed and Layer1 is opened. In the center of Layer3, there should be a hollow ...
This needs to be adjusted according to the size of the screen. config LV_USE_FILE_EXPLORER bool "Enable file explorer" default n config LV_FILE_EXPLORER_PATH_MAX_LEN int "Maximum length of path" depends on LV_USE_FILE_EXPLORER default 128 config LV_FILE_EXPLORER_QUICK_ACCESS ...
0x42008a21: c_screen_example1 at C:/Users/hugo/sample_project/main/lib/c_screen/c_screen.c:14 0x42008a13: app_main at C:/Users/hugo/sample_project/main/main.c:45 0x42027f57: main_task at C:/Users/hugo/esp/esp-idf/components/freertos/app_startup.c:208 (discriminator 13) ...
Place a screen size image and rename it to bg.jpg, which is stored in the sd root directory (if using littlefs, modify the CONFIG_VFS_DEMO_USE_LITTLEFS=y in the project, and the program will write a blue background jpg to littlefs by default). There is no need to open the CONFIG_...