from machine import *
from time import *
button=Pin(18,Pin.IN)
while True:
buttonValue=button.value()
print(buttonValue)
sleep(0.5)from machine import *
from time import *
button=Pin(18,Pin.IN)
while True:
buttonValue=button.value()
print(buttonValue)
sleep(0.5)