So the arduino will get a pulsed 5v signal?
Yes. You can then read that using digitalRead(), or you can connect the 5V signal to an external interrupt pin, and attach an interrupt handler to that pin.
So the arduino will get a pulsed 5v signal?
Yes. You can then read that using digitalRead(), or you can connect the 5V signal to an external interrupt pin, and attach an interrupt handler to that pin.