Connecting Arduino to PIC

Forget the circuits.
What does the PIC do when you connect the input to +5V or 0V?

(what do the PIC forums say?)

Quote
just tried it an hour ago, and it doesnt work.. tried both active low and active high..

You don't need a switch, just connect the pin to 0V or 5V. Since it's not working, as I
indicated a couple of days ago, "you might try using one of the Port B or C pins for the
input".

when i connect the pin to 5v it does what is it supposed to do..
it sends the output to the motor from portd..

OK maybe a dumb question but I have to ask anyway. You do have a common ground wire connected between the arduino and the PIC, correct?

Lefty

i powered the arduino from the vdd pin(ground) and vss pin(+5v) of the pic..
and i connected the arduino gnd to the digital gnd..

am i doing it wrong?..