summaryrefslogtreecommitdiff
path: root/tests/pyb/pin.py.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/pin.py.exp')
-rw-r--r--tests/pyb/pin.py.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pyb/pin.py.exp b/tests/pyb/pin.py.exp
index 4856f5b8e..599374600 100644
--- a/tests/pyb/pin.py.exp
+++ b/tests/pyb/pin.py.exp
@@ -1,8 +1,10 @@
-<Pin A0>
+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