Setting up the ADC