added IR ADC reading