Sparkfun 2x2 button pad LEDs

I'm trying to use the sparkfun button pads on a project. I'm using the Maxuino patch to control the Arduino with the standard firmata.

I'm currently having problems controlling the LEDs on the button pads. I tried connecting each of the RGB inputs on the sparkfun pcb to 5v and the led grnd connections to the arduino pins and I can get the LEDs to turn on and off when I switch the output pins within Maxuino.

My question is: how do I control the colour of each individual led through Maxuino? I'm using the tri colour LEDs from cool components. Can someone post up a wiring diagram or help me out with this as I can't seem to figure it out? Any help would be appreciated.

Basically each component colour of the LED (and current limiting resistor) is wired up to a septate output on the arduino. Can you post a link to what sort of LED you have, the diagram will depend on if it is common anode or common cathode.

http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=223

Those are the LEDs I'm using.

If I wire them up seperate from the sparkfun PCB into my arduino I can change the colours and everything using the output pins. Butr when I have them wired into the PCB the colours don't seem to change and the LEDs just turn on and off. I can only change the colour by physically changing which RGB input on the pcb is connected to the 5v on my Arduino.

Look up about multiplexing. You can't connect either anodes or cathodes to the supply, both need switching.