Try adding CMCON=7 to your code to disable the comparator
EDIT: ADCON1=6 would be all digital, ADCON1=15 makes AN0 analog with AN3 VREF+ and AN2 VREF-
Try adding CMCON=7 to your code to disable the comparator
EDIT: ADCON1=6 would be all digital, ADCON1=15 makes AN0 analog with AN3 VREF+ and AN2 VREF-
Last edited by spcw1234; - 31st January 2012 at 00:40.
Shawn
Bookmarks