micropython/tests/pyb/pin.py.exp

15 wiersze
148 B
Plaintext

Pin(Pin.cpu.C6, mode=Pin.IN)
C6
6
2
Pin(Pin.cpu.C6, mode=Pin.IN, pull=Pin.PULL_UP)
1
Pin(Pin.cpu.C6, mode=Pin.IN, pull=Pin.PULL_DOWN)
0
0
1
0
1
0
1