JavaLaurence Posted July 6, 2014 at 03:24 PM Share Posted July 6, 2014 at 03:24 PM 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. Quote Link to comment Share on other sites More sharing options...
borg Posted July 7, 2014 at 09:59 AM Share Posted July 7, 2014 at 09:59 AM 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. Quote Link to comment Share on other sites More sharing options...
Loetkolben Posted July 8, 2014 at 10:12 AM Share Posted July 8, 2014 at 10:12 AM 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 Quote Link to comment Share on other sites More sharing options...
JavaLaurence Posted July 8, 2014 at 01:11 PM Author Share Posted July 8, 2014 at 01:11 PM @Borg: thx for the clarification. Quote Link to comment Share on other sites More sharing options...
Dr4g0n Posted July 8, 2014 at 05:46 PM Share Posted July 8, 2014 at 05:46 PM 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 =) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.