The ADC section in the Datasheet for your PIC will tell you what you can and can't do with references. If you want to change the reference away from Vdd, then you will need to lose a pin for that task (see ADCON1 Register PCFG configuration 0001).
There is only one ADC on the PIC... it is however multiplexed to several pins. Providing you allow enough settling time for the sampling capacitor to charge before initiating a conversion (50uS is a good starting point), you will have no problem switching between multiple inputs.




Bookmarks