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 zu diesem Kommentar
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 zu diesem Kommentar
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.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...