主题
from machine import Pin import utime key = Pin(16, Pin.IN) while True: print(key.value()) utime.sleep(1)