import machine
import utime
led = machine.Pin(15, machine.Pin.OUT) # Set GPIO 15 as an output pin
while True:
led.value(1) #Turns the LED on
utime.sleep(1) # Keep the LED on for 1 second
led.value(0) # Turn off the LED
utime.sleep(0.5) # Keep the LED off for 0.5 seconds