from machine import Pin
from time import sleep_ms

segundo = Pin (2, Pin.OUT)
led = Pin (33, Pin.OUT)

while True:
    led.on()
    segundo.off()
    sleep_ms(300)
    led.off()
    segundo.on()
    sleep_ms(900)