circuitpython/tests/pyb/pin.py.exp

15 lines
148 B
Plaintext
Raw Normal View History

2014-08-08 17:38:58 -04:00
Pin(Pin.cpu.A0, mode=Pin.IN)
A0
0
0
2014-08-08 17:38:58 -04:00
Pin(Pin.cpu.A0, mode=Pin.IN, pull=Pin.PULL_UP)
1
2014-08-08 17:38:58 -04:00
Pin(Pin.cpu.A0, mode=Pin.IN, pull=Pin.PULL_DOWN)
0
0
1
0
1
0
1