Added ability to switch adc channels