I am anable to compile without ERROR[113] Symbol not previously defined (T0IF) using timer0 interrupt.
Here the code:
If I comment out TMR0 interrupt then the code compiles correctly, this is the case also with TMR1 interrupt (good compiling) but not with TMR0.Code:INCLUDE "DT_INTS-14.bas" ; Base Interrupt System INCLUDE "ReEnterPBP.bas" ; Include if using PBP interrupts . . . . ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler RX_INT, _Getbytes, PBP, yes INT_Handler TMR0_INT, _TM0Label, PBP, yes ;INT_Handler TMR1_INT, _TM1Label, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM @ INT_ENABLE RX_INT ; enable RX_INT interrupts @ INT_ENABLE TMR0_INT ;@ INT_ENABLE TMR1_INT . . . .
Since, I cannot find out the reason for this error, I need help please.
Al.




Bookmarks