1# 2# Create LED's with different brightness and color 3# 4 5# Create a LED and switch it OFF 6led1 = lv.led(lv.scr_act()) 7led1.align(lv.ALIGN.CENTER, -80, 0) 8led1.off() 9 10# Copy the previous LED and set a brightness 11led2 = lv.led(lv.scr_act()) 12led2.align(lv.ALIGN.CENTER, 0, 0) 13led2.set_brightness(150) 14led2.set_color(lv.palette_main(lv.PALETTE.RED)) 15 16# Copy the previous LED and switch it ON 17led3 = lv.led(lv.scr_act()) 18led3.align(lv.ALIGN.CENTER, 80, 0) 19led3.on() 20 21