Hey! Sorry for my bad English
I plan to make a panel with switches and light emitting diodes. Which is connected on an arduino nano. Then I have to connect the relay on the arduino mega. And use TX / RX to remote it. But where do I start? Anyone have simple code that shows how I can control a relay by and tilt the switch on the arudino nano?
That is to say:
Arduino nano: on / off switch (diode light for on / off status)
TX / RX connect (So I drop so many wires from the panel to the relay)
Arduino mega: Turns on relay on / off