from machine import Pin 
import utime

led1 =Pin(28,Pin.OUT)


delay = 1
while True:
        led1.value(1)
        utime.sleep(delay)
        print("Relay ON / Light ON")
        led1.value(0)
        utime.sleep(delay)
        print("Relay OFF / Light OFF")
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
NOCOMNCVCCGNDINLED1PWRRelay Module