#--------------------------------------------------
# Für sleep() das Modul time importieren
import time
# Für Pin das Modul machine importieren
import machine
#--------------------------------------------------
# setup
led_pins = [machine.Pin(x, machine.Pin.OUT) for x in (13, 12, 14, 27, 26, 25, 33, 32)]
#--------------------------------------------------
# loop
while True:
for led in led_pins:
# LED[] einschalten für 500 ms
led.on()
time.sleep(0.5)
# LED[] ausschalten
led.off()