Darrel probably has a better answer but I would use..
INTSAVE = INTCON
INTCON = 0
.....
Your serial routines here
......
INTCON = INTSAVE
This disables interrupts while you do Serout and restores them to exactly
what they were afterward.
Darrel probably has a better answer but I would use..
INTSAVE = INTCON
INTCON = 0
.....
Your serial routines here
......
INTCON = INTSAVE
This disables interrupts while you do Serout and restores them to exactly
what they were afterward.
Charles Linquist
Bookmarks