Before the RESUME, try to clear the interrupt flag unless it will just get out of the ISR, then return there over and over....
INTCON.1=0
Maybe you'll need to implement some switch debouncing as well.
Before the RESUME, try to clear the interrupt flag unless it will just get out of the ISR, then return there over and over....
INTCON.1=0
Maybe you'll need to implement some switch debouncing as well.
Last edited by mister_e; - 19th November 2007 at 23:47.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks