Fixing up IRsensor and ADC