i used those few times in the past without too much problems. I can't check everything where i'm right now but as i remind, you have to disable the analog comparator with CMCON0 register if my memory is good.
try this line at the top of your code... but double check in the datasheet before... i can be wrong here... as often...
CMCON0.3=0
or
CMCON0=0
i can't remind how to exactly... but the first one sounds familiar to me... anyways let us know
Look for your default config fuses... if i'm right MCLR= enable so MCLR should check that.
HTH
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks