No message
[fresonbot.git] / test_IR.py
1 import Adafruit_BBIO.ADC as ADC
2
3 import time
4
5 ADC.setup()
6
7 while 1:
8     voltage0 = ADC.read_raw("AIN0")
9     voltage1 = ADC.read_raw("AIN1")
10     voltage2 = ADC.read_raw("AIN2")
11     voltage3 = ADC.read_raw("AIN3")
12     voltage4 = ADC.read_raw("AIN4")
13     print("0-1-2-3-4" , voltage0, voltage1, voltage2, voltage3, voltage4)
14     time.sleep(0.1)
15