fabritio, be patient . . .
What type of PIC are you using?
what do you mean by saying:
... except when it receive a high signal on RB5 ...
Is this "high signal" a HIGH level for a certain period of time, or is it a short pulse?
Do you want to trigger on the rising or falling edge?
If the program has nothing else to do than sit and wait for HIGH on RB5 you wouldn't even need an interrupt.
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
Bookmarks