from time import sleep
from machine import Pin
import random
port=[0,1,2,3,16,17,18,19]
while True:
random_num = random.choice(port)
led=Pin(random_num,Pin.OUT)
led.on()
sleep(0.5)
led.off()
sleep(0.5)
from time import sleep
from machine import Pin
import random
port=[0,1,2,3,16,17,18,19]
while True:
random_num = random.choice(port)
led=Pin(random_num,Pin.OUT)
led.on()
sleep(0.5)
led.off()
sleep(0.5)