Adafruit-WS2801-Library
Adafruit-WS2801-Library copied to clipboard
WS2801 ledstrip with RBG-order
I have a WS2801 ledstrip (5v, 32 led per meter) which uses the RBG order. Unfortunately the library doesn't support this order.
The library works perfectly with RBG, but you cant set it, you have to overwrite the function Adafruit_WS2801.RGB_to_color
with:
def RGB_to_color(r,g,b):
# reversed order for rbg strips
return Adafruit_WS2801.RGB_to_color(r,b,g)
Then you can use the library without changing anything in the core core.