There's no handler for the TMR0 interrupt.Code:INTCON.5 = 1; // enable TMR0 interrupt
So the flag for that interrupt never gets cleared.
It then continuously enters/exits the interrupt processor, never to see the light of day again.
Added: And Alain is correct. disable/enable has no effect on DT_INTS.
<br>
Bookmarks