1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + Other Software Rpi0 + WS2812b - red and green colors switched, can't change byte order to fix

Discussion in 'Hardware Support' started by djzabr, 2 September 2017.

  1. djzabr

    djzabr New Member

    Messages:
    2
    Hardware:
    RPi1/Zero
    Hi all,

    My rPi zero with WS2812b setup is giving me an issue. I can get the LEDs to light up and send colors to them in Hypercon, however, when I select red it lights up green, and when i select green it lights up red. I have tried configs with all the different RGB byte orders and even when I make it something like GRB the color issue persists.

    Thank you for any help.
     
  2. Sabaat Ahmad

    Sabaat Ahmad Member

    Messages:
    54
    Hardware:
    RPi3, +Arduino
    This is probably because you switched the colors twice, once in Hyperion and once in your Arduino code (given that you are using an Arduino to drive these LEDs).

    The solution is to set RGB at one place and GRB at the other place.