Pin(Pin.cpu.A7, mode=Pin.IN) A7 7 0 Pin(Pin.cpu.A7, mode=Pin.IN, pull=Pin.PULL_UP) 1 Pin(Pin.cpu.A7, mode=Pin.IN, pull=Pin.PULL_DOWN) 0 0 1 0 1 0 1