bigal_scorpio
Active Member
Hi to all,
I am doing a project with the 16F872 and need all the AD inputs.
I have set ADCON1 to %10000010 which as I read the datasheet means that the result will be roght justified and ALL AD challels will be ok to use and the references will be taken internally from VDD and VSS.
My problem is that when I use channel 2 the readings on the other channels are affected, actually moving with the channel 2 input as if I had -vref set to channel 2.
Is there some trick to using all the ADs without the vrefs or am I going to have to do without channel 2?
Thanks, Al
I am doing a project with the 16F872 and need all the AD inputs.
I have set ADCON1 to %10000010 which as I read the datasheet means that the result will be roght justified and ALL AD challels will be ok to use and the references will be taken internally from VDD and VSS.
My problem is that when I use channel 2 the readings on the other channels are affected, actually moving with the channel 2 input as if I had -vref set to channel 2.
Is there some trick to using all the ADs without the vrefs or am I going to have to do without channel 2?
Thanks, Al