from machine import Pin
from time import sleep
PIR= Pin(28, Pin.IN)
while True:
    print(PIR.value())
    sleep(1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT