Fading LED Connected to PWM Pin
This is an example in the "Getting Started with Arduino" (Make Magazine)
You're going to need:
- one 220 Resistor
- an led
- a breadboard
- an arduino
- two jumper wires
After you've collected the parts, just build the circuit the way I've done so here.
follow this Link to get a FREE PDF of "Getting Started with Arduino" 2nd Edition. This is where you can find more information about this circuit* and more!
*pg. 56, Figure 5-4