3rd Inning

From LVL1
Jump to navigation Jump to search

Introduction

Tri-color LED fading


Components Needed

  • Freeduino or Arduino or clone
  • USB cable for Freeduino
  • Freeduino development software - download here!
  • Solderless Breadboard
  • Hookup wire 22gauge solid
  • Common Cathode LED

How to

  1. refer to the fritzing drawing to place the wires
  2. upload the code below using cut and paste
  3. Run and watch the fading of the led!

Schematic

Lvl1-Inning3 schem.jpg

Fritzing

Lvl1-Inning3 bb.jpg

Code

Troubleshooting

  • is your led in correctly
  • code for the pins on Arduino correct

Resources

Most of this example was taken from here.