circuitpython/tests/pyb/pin.py.exp
2014-08-08 22:38:58 +01:00

15 lines
148 B
Plaintext

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