Hi, Ioannis
Compiles fine adding ...
Code:
@ __CONFIG _LVP_OFF & _BODEN_ON & _CP_ALL & _MCLR_OFF & _PWRTE_ON & _WDT_ON & _INTRC_IO
to the top of your code ...
and
Code:
'*****************************************************************************
'Includes
'*****************************************************************************
INCLUDE "DT_INTS-14.bas"
INCLUDE "ReEnterPBP.bas"
'------------- INTERRUPTS SETUP ---------------------
ASM
INT_LIST macro; IntSource, Label, Type, ResetFlag?
INT_Handler TMR1_INT, _timer, PBP, yes
INT_Handler RBC_INT, _in_triger, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
ENDASM
just BEFORE the Interrupts setup ... ( why ??? good question !!!)
It DIDN'T Compile placed at the top of program ... that's it
- also think to uncomment Wsave, Wsave1 .... etc. in DT INTs listing ....
Alain
Bookmarks