#include "../../../lvgl.h" #if LV_USE_SPINNER && LV_BUILD_EXAMPLES void lv_example_spinner_1(void) { /*Create a spinner*/ lv_obj_t * spinner = lv_spinner_create(lv_scr_act(), 1000, 60); lv_obj_set_size(spinner, 100, 100); lv_obj_align(spinner, NULL, LV_ALIGN_CENTER, 0, 0); } #endif