post your whole code, configuration fuses and schematic (if possible).
You can try to disable the watchdog timer to see if it solve some part of the problem.
post your whole code, configuration fuses and schematic (if possible).
You can try to disable the watchdog timer to see if it solve some part of the problem.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi JohnP,
I might be wrong , but you need activity on zero crossing pin for the XOUT command to work.
Check out PBP manual page 163 (chapter 5.89 ).
Hope this will help.
Regards,
Nick
Nick,
BINGO!!!!
I knew it had to be something stupid!! The program waited for the command to finish and the watchdog timer reset the PIC! Disabling the watchdog timer made everything just stop when the XOUT command was executed.
Of course, the real problem was that I didn't read the instructions in detail - I just skimmed and skimmed right past the part about "XOUT will effectively wait forever".
Thanks again for all that replied to my problem. It wasn't a problem, but an opportunity to learn -- from those that knew better.
John P
Bookmarks