from machine import Pin
import time
led = Pin(0, Pin.OUT)
leds = list(range(5))
while 1:
for i in leds:
Pin(i).value(1)
time.sleep_ms(250)
Loading
pi-pico-w
pi-pico-w
from machine import Pin
import time
led = Pin(0, Pin.OUT)
leds = list(range(5))
while 1:
for i in leds:
Pin(i).value(1)
time.sleep_ms(250)