Hi, so I have little pcb with 2 leds and 2 switches on it. A common wire goes to one side of all of 4 items and a single wire goes to other side of each item, for a total of 5 wires. In addition, there is what looks like a resistor connecting both sides of the leds. My issue is that to get an led to light up, I have to connect the common wire to the signal of pin 12, for example, and the individual wire for that led to ground.
This is causing great confusion and pain and suffering on my end. I presume that I can not connect the signal of 4 different arduino pins to the common wire on the pcb without doing something else, if at all? I can connect the switches normally, but I presume using the same connection as both signal for the switches and ground for the leds will also not be a good idea. Anyway, board designed and engineered precisely and replicating with different wiring would be very difficult for me. Thanks for any advice!