from machine import *
from time import sleep
t = Pin(28, Pin.IN, Pin.PULL_DOWN)
while True:
print(t.value())
sleep(.5)
from machine import *
from time import sleep
t = Pin(28, Pin.IN, Pin.PULL_DOWN)
while True:
print(t.value())
sleep(.5)