I am making a peer-to-peer network of initiating devices and a common hub, which controls most of the hardware. It sends a number over
Serial to Mega's
Serial is used for communicating to the computer), but as a fallback it initiates a general alarm by sending a 5v signal (using
digitalWrite(pin, HIGH)) to the main board. In order to complete the circuit and get the read, how would I do this?