Yeah that's right, it does turn the tmier off.
It still sounds to me like the PIC is resetting or some other code elsewhere in your program is causing the output to go low on the pin you are using. Just for arguments sake, create a new program with just this code and try it out.The "HS_OSC" is my change because I have a 20Mhz xtal, and yes, I have "OSC 20" in my "PIC Basic" code.
I've never heard the term "boiler plate" before so I'm not quite sure what you mean?The other line items are "Boiler Plate" I've found looking around the Forum.
Cheers
Rob
Bookmarks