from machine import Pin
from time import sleep
b=Pin(0,Pin.OUT)
while True:
    b.on()
    print("relay on")
    sleep(1)
    b.off()
    print("relay off")
    sleep(1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
NOCOMNCVCCGNDINLED1PWRRelay Module