LED-Arduino-circuit

This photograph shows how to connect an LED to an arduino. Make sure that the long leg of the LED is connected to the resistor, and the short leg is connected to ground.