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")