Getting back on topic with DT int code. Is it a bad thing to put GOTO's or GOSUB'S inside the interrupt handler ? Therefore maybe never seeing the @ INT_RETURN
'---[TMR1 - interrupt handler]--------------------------------------------------
ToggleLED1:
T1CON = %0
TMR1L = $23
TMR1H = $A8
T1CON = %1
TOGGLE LED1
GOTO MAIN 'is this dangerous ?
@ INT_RETURN




Bookmarks