from machine import Pin
from utime import sleep
led1=Pin(0,Pin.OUT)
led2=Pin(1,Pin.OUT)
led3=Pin(2,Pin.OUT)
led4=Pin(3,Pin.OUT)
led5=Pin(4,Pin.OUT)
led6=Pin(5,Pin.OUT)
while 1<2:
led1.value(1)
sleep(0.5)
led1.value(0)
sleep(1)
led2.value(1)
sleep(0.5)
led2.value(0)
sleep(1)
led3.value(1)
sleep(0.5)
led3.value(0)
sleep(1)
led4.value(1)
sleep(0.5)
led4.value(0)
sleep(1)
led5.value(1)
sleep(0.5)
led5.value(0)
sleep(1)
led6.value(1)
sleep(0.5)
led6.value(0)
sleep(1)