If I remember correctly, the long lead is ground.
That is not the most common type. The most common type is common anode, that means the long lead is the + and the other leads go through a resistor each, - to ground or an arduino output pin.
If I remember correctly, the long lead is ground.
That is not the most common type. The most common type is common anode, that means the long lead is the + and the other leads go through a resistor each, - to ground or an arduino output pin.