Try it with ...
CONFIG XINST = OFF
CONFIG LVP = OFF
Try it with ...
CONFIG XINST = OFF
CONFIG LVP = OFF
DT
Wow, thanks Darrel! How come that made it work?
The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.
On that chip, RC3 is also the PGM pin for Low Voltage Programming (LVP).
When LVP is enabled, you can't use that pin for anything else.
And you should ALWAYS disable the Extended Instruction Set (XINST).
PBP will not function properly when XINST is enabled.
DT
Thank you for taking the time to explain, it is much appreciated.
Best Regards,
Paul
The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.
Bookmarks