first of all thank you very much for the immediate reply..
as for mackrackit: yes i am using MPASM as my assembler but why do i still get this same error?
as for darrel taylor thank you for suggesting on not using 'F84s anymore but you see i don't have any available PICs beside the PIC16F84A and i haven't mastered yet PICBasic Pro language yet..
Code:
LED1 VAR PORTB.1
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 INT_INT, _ToggleLED1, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
INT_ENABLE INT_INT ; enable external (INT) interrupts
ENDASM
Main:
PAUSE 1
GOTO Main
'---[INT - interrupt handler]---------------------------------------------------
ToggleLED1:
TOGGLE LED1
@ INT_RETURN
this is your example that i was trying to compile using microcode studio..
pardon me for the inconvenience..
i think that your code is the best way to service interrupts in picbasic environment which i can very much use for my led dot matrix(5x7) scrolling display..
thank you very much!!
Bookmarks