added adc read for input 3 and 4