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)