And you can remove LOW LED at the bottom. Toggle will change the state for you; if it was ON, it will turn OFF, and vice versa.
Do you really need the watchdog timer?
Can you put the CONFIG statement in the include like that?
(never saw that before, usually it's at the top of your program, but I don't use MPLAB).
Robert
Bookmarks