exchanging encoders
[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 #    voltage1 = ADC.read("AIN1")
9     voltage4 = ADC.read_raw("AIN1")
10 #    voltage4 = ADC.read_raw("AIN3")
11 #    print("AIN1" ,voltage1)
12     print("AIN4", voltage4)
13     time.sleep(0.05)
14