Hi guys!

well! im using PIC16F84 in my robot system. What im doing is using two of them simultaneously. Now let me tell u that how i want to do this:

Supposing PIC # 1 is connected with my sensors, when sensors cause interrupt in it, it sends signal to PIC #2 and then the PIC#2 operates the motors connected with it.

I want to ask you that how can i program such a system.

I have one idea, i dont know whether its correct or not,

If i make coding in such a way that PIC #1 when gets interrupted it makes its one pin lets say portB.1=high and then make one pin of PIC #2 as an input to detect that high state of portB.1.

Plz tell me how can i program this:

i shall be thankful to u for this act of kindness.

take carez

Good Bye