RGB Led help

Hi Guys,

I just purchased 2 RGB Common Anode LED's from RadioShack. Now im wondering how to use them with the arduino pins so i can have a color-changing "lightshow". Thanks!

Yeah PWM... I dont know how to do that since its common annode...

Common Anode is the same as Common Cathode except:

  1. You hook the common pin to +5V instead of Ground
  2. The PWM values are reversed: 0 = bright, 255 = off

Thx

http://www.mbeckler.org/microcontrollers/rgb_led/

This is a nice little write up on how to control common anode RGB LEDs -- specifically the 276-0028 from Radio Shack. I just finished wiring up the led on my breadboard and the code he provides works great!