Arduino, Cpp.
the electrical signal of the equipment’s power supply should be connected to it. The other 2 pins are used to bridge the common and the phase (the side of the socket where electrons actually vary their current), either normally open or normally closed. It’s like deciding whether you want the