micropython/tests/pyb/pin.py.exp

15 lines
148 B
Plaintext
Raw Normal View History

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