by ABSF » Sat Dec 03, 2011 9:04 pm
I think RA0 and RA1 are default to analog and you must be using them as digital inputs.
You have to set them manually to digital at ADCON1/PCFG3:PCFG0 to "011x" for it to work. See the datasheet for more info on the ADC section.
Allen
The next war will determine NOT who is right BUT what is left.