I'm trying to do the following, not sure if it's possible or not, and I'm not really sure what it's called so I can't search for it.
I have a pi 2 B+. Let's say I have two push buttons, A and B.
A is connected to the GPIO (and I've tested it with an LED to make sure it turns on and off when A is pressed).
B is connected to a different powered device. I've added two wires out of push button B (in addition to whatever it is already connected to).
When I press A, I want to somehow send a signal to B, using the two wires I added, to simulate a button press of B.
Not sure if that is possible, if I need to connect B to the GPIO, or what? :|
(I need to connect A to B via the GPIO as there is a motion sensor that I want to use as well, to activate B - i.e. I can't just connect A to B directly).
Thanks in advance!