from machine import Pin
from time import sleep
fg = Pin(2, Pin.IN)
Pin = Pin(5, Pin.OUT)
while True:
Pin.low()
sleep(2)
Pin.high()
sleep(2)
from machine import Pin
from time import sleep
fg = Pin(2, Pin.IN)
Pin = Pin(5, Pin.OUT)
while True:
Pin.low()
sleep(2)
Pin.high()
sleep(2)