Jump to content

LED Strip produces wrong colours


JavaLaurence

Recommended Posts

I've got a 50-LED strip connected to a LEDStrip bricklet. In the Brick Viewer (2.1.1), I tell the strip (all 50 LEDs) to "Show Color" with the following results:

 

0,0,0 all LEDs dark

1,0,0 all LEDs dark BLUE (should be red)

0,1,0 all LEDs dark GREEN

0,0,1 all LEDs dark RED (should be blue)

 

My own code also fails to get the expected colours by mixing R,G,B parameters.

 

Have I got a wonky strip? Can't imagine the bricklet to be at fault since there's no direct R, G, B lines going out to the LEDs.

Link to comment
Share on other sites

We should have called it color1, color2 and color3. Unfortunately there is no standard on how the colors are connected. So some manufacturers connect them "RGB", others connect them "BGR".

 

The LED strips we are selling are actually connected the other way around than the LED pixels...

 

At the time we made the API we didn't know that there are these differences.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...