from machine import Pin from time import sleep led1 = Pin(12, Pin.OUT) led2 = Pin(14, Pin.OUT) led3 = Pin(25, Pin.OUT) led4 = Pin(33, Pin.OUT) while True: led1.value(1) sleep(0.5) led2.value(1) sleep(0.5) led3.value(1) sleep(0.5) led4.value(1) sleep(0.5) led1.value(0) sleep(0.5) led2.value(0) sleep(0.5) led3.value(0) sleep(0.5) led4.value(0) sleep(0.5)