summaryrefslogtreecommitdiff
path: root/tests/pyb/adcall.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-04-11 17:12:13 +1000
committerDamien George <damien.p.george@gmail.com>2018-04-11 17:12:13 +1000
commitd12483d93662d0aa1a421f4f8348c7e960c25183 (patch)
tree46cccffe44e227563d2ef156039439a2c9ee3338 /tests/pyb/adcall.py.exp
parent3d5d76fb7384cd6c0bcd62f6a6799261b73f786d (diff)
tests/pyb: Add test for pyb.ADCAll class.
Diffstat (limited to 'tests/pyb/adcall.py.exp')
-rw-r--r--tests/pyb/adcall.py.exp32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/pyb/adcall.py.exp b/tests/pyb/adcall.py.exp
new file mode 100644
index 000000000..5a85ba770
--- /dev/null
+++ b/tests/pyb/adcall.py.exp
@@ -0,0 +1,32 @@
+Pin(Pin.cpu.A0, mode=Pin.ANALOG)
+Pin(Pin.cpu.A1, mode=Pin.ANALOG)
+Pin(Pin.cpu.A2, mode=Pin.ANALOG)
+Pin(Pin.cpu.A3, mode=Pin.ANALOG)
+Pin(Pin.cpu.A0, mode=Pin.ANALOG)
+Pin(Pin.cpu.A1, mode=Pin.ANALOG)
+Pin(Pin.cpu.A2, mode=Pin.IN)
+Pin(Pin.cpu.A3, mode=Pin.IN)
+<ADCAll>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+<class 'int'>
+True
+True
+True
+True