Where's the ADC code?
The output from the ADC should be the same...key word is 'should'.
Is your ADC input varying at all?
Are you sampling it slow enough as the datasheet suggests?
Are your parameters for the ADC (sample time, etc.) correct?
What is the input impedance to your ADC pin?
For all I know, there's a nuclear fission reactor power generating station connected to AN0 on the PIC, or it could be a small butterfly. I don't know.
Bookmarks