Quote Originally Posted by MOUNTAIN747 View Post
Question; using PBP should I set ADCON1= %00000111
ADCON1 =6 or 7 ok
TRISA=%11111111. There is a note in the mid range manual that says I may have a high current on pins on PortA as I read the value of the port. Do I have a problem using PortA as digital input?
NO, as set all port a inputs.
TRISB=%00000000
TRISC=%11110000
Will PBP handle my concerns?
Comments will be appreciated.
Ok, all port b outputs upper half of PortC as inputs,
set ADCON0=0 , CMCON=7 , and remember RA4 is open drain and requires a pullup resistor.