New file for the ADC functions