from machine import Pin
from utime import Sleep
button = Pin(14,Pin,IN)
while True:
if button.value()==0:
print("you pressed the button!")
sleep(1)
from machine import Pin
from utime import Sleep
button = Pin(14,Pin,IN)
while True:
if button.value()==0:
print("you pressed the button!")
sleep(1)