I bought a tricolor led from radio shack today and got it working with Arduino. The only tricky part is that it had a common anode instead of a common cathode, so I had to connect 5v to the common anode through a 220 ohm resistor so that it would light up.
really neat setup :D
ciprianwiner 8 months ago