login

Author Topic: LED RGB clear common cathode seems to be backward  (Read 1556 times)

0 Members and 1 Guest are viewing this topic.

glayvin34

LED RGB clear common cathode seems to be backward
« on: June 19, 2012, 10:46:39 AM »
Hello, everyone.  I got some of these things for a project:
http://www.sparkfun.com/products/105
And I clicked on the wiring example and set up my Arduino Uno like it shows in the image, uploaded the provided code, and nothing happened.
I messed with it to try and figure out what was wrong and it appears that hooking up the LED backwards is the only way to make it light up.  I.e., the GND pin of the Arduino connects to the 1, 3, or 4 pin of the LED and the output pin of the Arduino connects to the 2 pin of the LED.  I don't really know a whole lot about electronics, but this seems to prevent me from controlling the LED to change color since it has only one input from the Arduino. 
Can someone let me know what I'm doing wrong here?
« Last Edit: June 19, 2012, 10:52:42 AM by glayvin34 »

barragan

Re: LED RGB clear common cathode seems to be backward
« Reply #1 on: June 21, 2012, 12:34:31 PM »
Did you modified the pin numbers in the code? the example is setup to be used with certain pins, I see you are using different pin numbers so the code must be changed accordingly.