Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

 

Whats about WS2811/WS2812? In this case all the RGB labelling in BrickV should be correct. Maybe you can use "color1, color2 and color3" for WS2810 and "Red, Green, Blue" for die WS2811/WS2812 selection.  ;)

 

 

Der Loetkolben

Posted

Hello,

 

same problem here, its a little "bug" i connectet the strip like the tutorial on tinkerforge.

 

but the method swaps the blue and green color ;) maybe only fix this and everyone are happy =)

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...