from machine import*
from time import*
sleep(0.1) # Wait for USB to become ready
button=Pin(4,Pin.IN,Pin.PULL_Down)
while True:
state=button.value()
sleep(0.1)
from machine import*
from time import*
sleep(0.1) # Wait for USB to become ready
button=Pin(4,Pin.IN,Pin.PULL_Down)
while True:
state=button.value()
sleep(0.1)