from machine import Pin
from time import sleep
push_button = Pin(19, Pin.IN)
while True:
logic_state = push_button.value()
if logic_state == False: # if pressed the push_button
print("Waiting")
if logic_state == True:
print("Button Pressed")