Hi Bri,
Great to know everything is working fine for you now !
Since every PIC can be different, refer to datasheet for ADCON1 setting of your PIC18F4610.
Open your datasheet or PDF http://ww1.microchip.com/downloads/e...Doc/39636a.pdf
at the REGISTER 18-2 ADCON1 (pdf page 214)
to get all pin to digital you must set ADCON1 to $0F, 15, or %00001111.
if you're setting ADCON1=7, you will get only AN<12:8> to digital, the rest to analog.
that's it, that's all, basketball!!!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks