your TRISA setting is backward.
TRISA= %00000001
and you have to disable the analog comparator
CMCON=7
your TRISA setting is backward.
TRISA= %00000001
and you have to disable the analog comparator
CMCON=7
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks, I should have known it was backward, but I didn't know I had to disable the comparator.
Russ
Bookmarks