from machine import Pin
import time
# Define the LED pin
led_pin = Pin(14, Pin.OUT)
while True:
# Turn on the LED
led_pin.on()
print("LED is ON")
# Wait for 1 second
time.sleep(1)
# Turn off the LED
led_pin.off()
print("LED is OFF")
# Wait for 1 second
time.sleep(1)