Searched refs:led2 (Results 1 – 2 of 2) sorted by relevance
15 lv_obj_t * led2 = lv_led_create(lv_scr_act()); in lv_example_led_1() local16 lv_obj_align(led2, LV_ALIGN_CENTER, 0, 0); in lv_example_led_1()17 lv_led_set_brightness(led2, 150); in lv_example_led_1()18 lv_led_set_color(led2, lv_palette_main(LV_PALETTE_RED)); in lv_example_led_1()
11 led2 = lv.led(lv.scr_act()) variable12 led2.align(lv.ALIGN.CENTER, 0, 0)13 led2.set_brightness(150)14 led2.set_color(lv.palette_main(lv.PALETTE.RED))