DT_INT with TIMER_1 and led blink work 100% on 16f877 when I test it but:
Code:
define OSC 20
ADCON1 = 7
TRISB = %00000011
INTCON = %10001000
LED1 VAR PORTA.0
LED2 VAR PORTA.1
LOW LED1
low LED2
INCLUDE "DT_INTS-14.bas"
INCLUDE "ReEnterPBP.bas"
ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler RBC_INT, _TEST, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
ENDASM
@ INT_ENABLE RBC_INT
Main:
PAUSE 1
GOTO Main
'---[RBC_INT - interrupt handler]------------------------------------------
TEST:
high led1
high led2
@ INT_RETURN
Dont want to work for me...why ?
Bookmarks