Thanks Bruce. Please clear my 1 doubt which I always had but I never asked, but now since I cannot figure out the difference myself, here it goes:
Q) What it the difference between ADCON0 registers BIT 5-3 & ADCON1 BIT 2-0?
Thanks Bruce. Please clear my 1 doubt which I always had but I never asked, but now since I cannot figure out the difference myself, here it goes:
Q) What it the difference between ADCON0 registers BIT 5-3 & ADCON1 BIT 2-0?
Datasheet is quite self explanatory
ADCON0 bit 5-3 CHS<2:0> Analog Channel Select Bits
This will select the Analog Channel (I/O) to read (ADCIN 0, Var , ADCIN 1, Var)
ADCON1 Bit 2-0 PCFG<2:0> A/D Port Configuration Control Bits
This configure the I/O... Digital OR Analog
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks