adc and pid