Adding test IR
authorJordi <jordiguerrero@gmail.com>
Tue, 9 Feb 2016 18:33:49 +0000 (18:33 +0000)
committerJordi <jordiguerrero@gmail.com>
Tue, 9 Feb 2016 18:33:49 +0000 (18:33 +0000)
test_IR.py [new file with mode: 0644]

diff --git a/test_IR.py b/test_IR.py
new file mode 100644 (file)
index 0000000..815f63e
--- /dev/null
@@ -0,0 +1,9 @@
+import Adafruit_BBIO.ADC as ADC
+
+import time
+
+ADC.setup()
+while 1:
+    voltage = ADC.read("AIN1")
+    print(voltage)
+    time.sleep(0.05)