Couple of things to remember.
1. It is not a good idea to post an e-mail on the forum. You will get thousands of junks to your e-mail. I suggest that you remove it right away and PM to members instead.
2. You are not using PBP, but this is a PBP forum 
3. Lets keep this issue on this forum, so that it can be some help to some other members having similar issue.
-----------------------------
Let me try to start by changing the code to PBP first.
In your schematic, I would use Interrupt on RB0 pin, instead of RB6 pin. May be you should change that first.
Then, assuming you are now using RB0/Int, we set Intcon Bit 4: RB0/INT External Interrupt Enable bit. Thus, we end up with INTCON = %10010000
Now the code should look like below but remember it is with PBP statements. You can get around it.
Code:
TRISA = %00000000 'All output.
TRISB = %00000001 'RB0 is input, rest is output.
INTCON = %10010000 'Enable global (Bit7) interrupt, enable RB0/Int (Bit4)
ON INTERRUPT GOTO FLASH
loop:
PORTA = 255
PAUSE 200
PORTA = 0
PAUSE 200
GOTO loop
disable
FLASH:
PORTA = 0
INTCON.0 = 0
RESUME
ENABLE
END
Also, why do you have to use interrupt?
-------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks