Simple LED light up with Arduino. I have just connected LED lamp to 5 volts. Also I added a resistor that is 1k Ω. This is the first thing I did with my Arduino when I bought it. Basically you don't even need Arduino for this one.
Source code viewer// This little snippet doesn't require any code.