from machine import Pin
import utime

LEDS = [0,1,2,3]
L = [0,0,0,0]

for i in range(4):
  L[i]= Pin(LEDS[i], Pin.OUT)
  
test = Pin(4, Pin.OUT)
  
test.value(1)
utime.sleep(10)
test.value(0)
utime.sleep(1.5)
willi = Pin(4, Pin.OUT).value(1)
print(willi)

while True:
  for i in range(4):
    L[i].value(1)
    utime.sleep(0.5)
    L[i].value(0)
    print(L[i])
    

BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT