1 #include "../../lv_examples.h" 2 #if LV_USE_SPINNER && LV_BUILD_EXAMPLES 3 lv_example_spinner_1(void)4void lv_example_spinner_1(void) 5 { 6 /*Create a spinner*/ 7 lv_obj_t * spinner = lv_spinner_create(lv_scr_act(), 1000, 60); 8 lv_obj_set_size(spinner, 100, 100); 9 lv_obj_center(spinner); 10 } 11 12 #endif 13