summaryrefslogtreecommitdiffstatshomepage
path: root/tests/wipy/adc.py.exp
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-14 20:03:32 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-16 10:10:38 +0200
commit22b4c28f854bb2066a0d7471b50f9e00e1363239 (patch)
treeeeedc24a49a3f8c5a3cfa8fe0eed83a7788c9584 /tests/wipy/adc.py.exp
parent0e52d9860adc2d3d7328c649f3b6995ffc04fc63 (diff)
downloadmicropython-22b4c28f854bb2066a0d7471b50f9e00e1363239.tar.gz
micropython-22b4c28f854bb2066a0d7471b50f9e00e1363239.zip
cc3200: New ADC API.
Diffstat (limited to 'tests/wipy/adc.py.exp')
-rw-r--r--tests/wipy/adc.py.exp28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/wipy/adc.py.exp b/tests/wipy/adc.py.exp
new file mode 100644
index 0000000000..a65cf4963b
--- /dev/null
+++ b/tests/wipy/adc.py.exp
@@ -0,0 +1,28 @@
+ADC(0, bits=12)
+ADC(0, bits=12)
+ADC(0, bits=12)
+ADCChannel(1, pin=GP3)
+ADCChannel(1, pin=GP3)
+ADCChannel(1, pin=GP3)
+ADCChannel(1, pin=GP3)
+True
+True
+ADCChannel(1)
+ADC(0)
+ADCChannel(1)
+ADC(0, bits=12)
+ADCChannel(1)
+ADCChannel(1, pin=GP3)
+True
+Exception
+Exception
+Exception
+Exception
+Exception
+Exception
+Exception
+Exception
+Exception
+Exception
+ADCChannel(1, pin=GP3)
+True