Welcome to the forum.
In your case, refer to datasheet section 17-2
if you set BIT3-0 as %1111... AN0 will be analog ;( not what you want i guess.
try ADCON1 = 7
Welcome to the forum.
In your case, refer to datasheet section 17-2
if you set BIT3-0 as %1111... AN0 will be analog ;( not what you want i guess.
try ADCON1 = 7
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks