from machine import Pin
import time
# Initialize onboard LED (GPIO 25)
led = Pin("LED", Pin.OUT)
while True:
led.value(1) # Turn on the LED
time.sleep(1) # Wait for 1 second
led.value(0) # Turn off the LED
time.sleep(1) # Wait for 1 second