What's the best way to temporarily disable MIBAM? I need to allow SEROUT to a serial LCD, then re-enable. I'll tolerate the flicker, unless there's another option...
What's the best way to temporarily disable MIBAM? I need to allow SEROUT to a serial LCD, then re-enable. I'll tolerate the flicker, unless there's another option...
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
Yup, that works fine.
But:
T1CON.0=0
.....
Your serial routines here
......
T1CON.0=1
works and saves one byte variable!
Bookmarks