in your isr you will need to change the INTCON line. you don't want to re-enable the interrupt anyway. PIC will do it for you. What you need to do.. is to clear the interrupt flag
INTCON.1=0
in your isr you will need to change the INTCON line. you don't want to re-enable the interrupt anyway. PIC will do it for you. What you need to do.. is to clear the interrupt flag
INTCON.1=0
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks