Interrupt for 18F's works fine.
How to write assembly to set a variable instead of toggle led?
Norm
Code:'---[TMR1_INT - interrupt handler]------------------------------------------ ASM ToggleLED1 btg _LED1 ; toggle the pin INT_RETURN ENDASM
Interrupt for 18F's works fine.
How to write assembly to set a variable instead of toggle led?
Norm
Code:'---[TMR1_INT - interrupt handler]------------------------------------------ ASM ToggleLED1 btg _LED1 ; toggle the pin INT_RETURN ENDASM
Bookmarks