Same length leg RGB LED

Have I gone nuts? What type of RGB LED is this?
Link to the picture on imgur

I hear it usually has one leg longer than usual but this has two legs of the same length!

Every tutorial i've tried has failed. Is it me or the hardware?

I've used 220 ohm resistors (red red brown gold). Hooked up the second leg from the left to ground.

If I play a code like this

int redPin = 8;
int greenPin = 9;
int bluePin = 10;

void setup()
{
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
}

void loop()
{
digitalWrite(redPin,HIGH);
delay(1000);
digitalWrite(redPin,LOW);
digitalWrite(greenPin,HIGH);
digitalWrite(bluePin,LOW);
delay(1000);
digitalWrite(redPin,LOW);
digitalWrite(greenPin,LOW);
digitalWrite(bluePin,HIGH);
delay(1000);
digitalWrite(bluePin,LOW);
digitalWrite(greenPin,LOW);
digitalWrite(redPin,LOW);
delay(1000);
}

only blue blinks?

Either a ‘common anode’ or a ‘common cathode’, but two long legs is suspicious.

Not how we do things round here, please post on this forum.

Then try connecting it to +ve and and touch the other pins one at a time to ground.
Then if no joy, try the next one to the left as the common connector with resistor and touch the others to ground or +ve ( the opposite of what the common is).

Looks like they have simply been cut off.

LED leg length is not a good indicator.
The flat part of the LED body is.
Leo..

I seem to have found what it is!

But, im not sure how it works

Edit: I have further seen that this is apparently some special LED thing by a company, and on downloading their library and trying the code, the LED works, though I have no idea how! Seems like that will be the journey!

This link will help you understand how to use these devices and what is going on with them:-
the magic of neopixels

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.