from machine import Pin
pins = [
Pin(18, Pin.out),
Pin(19, Pin.out),
Pin(13, Pin.out),
Pin(14, Pin.out),
Pin(15, Pin.out),
Pin(17, Pin.out),
Pin(16, Pin.out),
Pin(12, Pin.out),
]
for i in pins:
i.value(1)
from machine import Pin
pins = [
Pin(18, Pin.out),
Pin(19, Pin.out),
Pin(13, Pin.out),
Pin(14, Pin.out),
Pin(15, Pin.out),
Pin(17, Pin.out),
Pin(16, Pin.out),
Pin(12, Pin.out),
]
for i in pins:
i.value(1)