from machine import Pin
import utime
pin = [6,7,8,9,10,11,12,13,14,15]
led= []
for i in range(10):
led.append(None)
led[i] = Pin(pin[i], Pin.OUT)
while True:
for i in range(10):
led[i].toggle()
utime.sleep(0.2)
from machine import Pin
import utime
pin = [6,7,8,9,10,11,12,13,14,15]
led= []
for i in range(10):
led.append(None)
led[i] = Pin(pin[i], Pin.OUT)
while True:
for i in range(10):
led[i].toggle()
utime.sleep(0.2)