Arduino
LEDs
Recognising the Positive End
Long lead is positive (Anode)
Short lead is negative (Cathode)
The LED won't be damaged, but will not light if connected back to front
Connecting to Power
Do NOT connect directly between 5V and Ground
A series resistor is always required
Depending on specific LED, the series resistor could be from 220Ω to 1K
See image to the left