By themselves, the include files will not compile.
There must be an INT_LIST and INT_CREATE in your program.
Code:
INCLUDE "DT_INTS-14.bas"
INCLUDE "ReEnterPBP-14.bas"
ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler TMR1_INT, _ToggleLED1, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
ENDASM
@ INT_ENABLE TMR1_INT ; Enable Timer 1 Interrupts
P.S: Do these interrupts work on 12F635?
Yes they do.
But I anticipate you will have more problems, because you already have more than 4-T? vars used.
So the program probably has a lot of math or logical conditions and there's going to be very little (if any) RAM left.
The 12F635 only has 64-bytes.
<br>
Bookmarks