from machine import Pin
import time
led_pin = Pin(1, Pin.OUT) # Replace 25 with the correct GPIO pin
while True:
led_pin.value(1) # Turn LED on
time.sleep(0.5) # Wait for 0.5 seconds
led_pin.value(0) # Turn LED off
time.sleep(0.5) # Wait for 0.5 seconds