dear everybody ..
I have an interrupt that occurs one time only and doesn't repeat also I have cleared bit1 in INTCON register, bits 4 and 7 of INTCON are also set using bsf .. I want a led to flash once external interrupt (RB0/INT) is triggered .. this is my interrupt subroutine:
plz help
I have an interrupt that occurs one time only and doesn't repeat also I have cleared bit1 in INTCON register, bits 4 and 7 of INTCON are also set using bsf .. I want a led to flash once external interrupt (RB0/INT) is triggered .. this is my interrupt subroutine:
Rich (BB code):
ORG 0x00
goto start
org 0x04
goto myint
RETFIE
myint
bsf PORTB,7
call delay
bcf PORTB,7
bcf INTCON,1