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.
Bookmarks