Thanks for this tutorial. I have a couple of questions. Am I supposed to be soldering the legs of the RGB LEDs as depicted in the image in Step 2 (with Redpin1=0, Greenpin1=1, and Redpin1=2, Redpin2=3, Greenpin2=4, Bluepin2=5) or as delineated in the code?

In the code, the pins are identified as follows:

// The pins that the LEDs are soldered to

#define redPin1 0

#define redPin2 5

#define greenPin2 1

#define greenPin1 4

#define bluePin2 2

#define bluePin1 3

Using your code and the diagram in Step 2, I haven't been able to get the common cathode RGB LEDs to light up. The code is, however, working well to control onboard RGB LED. What am I missing?

(P.S. I have checked the connections of the RGB LEDS. I am able to blink them both in all three colors using a Blink sketch. I am using six 330 Ohm resistors and brand new AA batteries).