Changed ADC reference to EXTERNAL