JavaLaurence Geschrieben July 6, 2014 at 15:24 Geschrieben July 6, 2014 at 15:24 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. Zitieren
borg Geschrieben July 7, 2014 at 09:59 Geschrieben July 7, 2014 at 09:59 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. Zitieren
Loetkolben Geschrieben July 8, 2014 at 10:12 Geschrieben July 8, 2014 at 10:12 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 Zitieren
JavaLaurence Geschrieben July 8, 2014 at 13:11 Autor Geschrieben July 8, 2014 at 13:11 @Borg: thx for the clarification. Zitieren
Dr4g0n Geschrieben July 8, 2014 at 17:46 Geschrieben July 8, 2014 at 17:46 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 =) Zitieren
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.