# here is the code in python
import machine
import utime
RED_pin = machine.Pin(15, machine.Pin.OUT)
while True:
REDled_pin.value(1) # turn LED on
utime.sleep(1) # wait for 1 second
REDled_pin.value(0) # turn LED off
utime.sleep(1) # wait for 1 second