ADCON1 = %00001111 is setting RA0 as A/D in, RA2 as -Vref & RA3 as +Vref.
ADCON1 = %00001111 is setting RA0 as A/D in, RA2 as -Vref & RA3 as +Vref.
What does it mean when the datasheet says "Bit is unknown"? How do you make all the ports digital because the datasheet says 011x with x being an unknown?
X in this case means it doesn't matter what the bit is. ADCON1 = %00000111 or ADCON1 = %00000110 will have the same effect.
Bookmarks