Hello everyone,
This may sound silly but I'm using the MIBAM example program by DT into my application. I've read it's limitation regarding the use of high priority interrupts(but not too sure)...but in my application I need the following modules
and here is my listingCode:INCLUDE "MIBAM.pbp" ; Bit Angle Modulation module INCLUDE "DT_INTS-18.bas" ; Base Interrupt System INCLUDE "ReEnterPBP-18.bas" ; Include if using PBP interrupts INCLUDE "Elapsed_INT-18.bas" ; Elapsed Timer Routines
When I compile gives this error... "Duplicate label INTHAND"Code:ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler TMR1_INT, _ClockCount, PBP, yes INT_Handler TMR0_INT, _ToggleLED1, PBP, yes INT_Handler USB_INT, _DoUSBSERVICE, ASM, yes INT_Handler INT_INT, _Handle_INT, PBP, yes INT_Handler RX_INT, _Getbytes, PBP, no endm INT_CREATE ; Creates the Low Priority interrupt processor; ;INT_ENABLE USB_INT ;we will do this after we initialize USB INT_ENABLE INT_INT ENDASM
I have checked the "MIBAM.pbp" and file "DT_INTS-18.bas" they contain the same variable name... is there a way to rename/arrange the interrupts to fix this error?
Thanks in advance,
tacbanon




Bookmarks