from machine import Pin


from time import sleep
led=Pin(4,Pin.OUT)
bulb=Pin(12,Pin.OUT)


while True:
  led.value(1)
  bulb.value(0)
  sleep(1)
  led.value(0)
  bulb.value(1)
  sleep(1)