You are reading a single comment by @AkosLukacs and its replies. Click here to read the full conversation.
  • Ok, there are more things to RGB / RGBW leds that I knew :)

    The "RGBW WS2812B" Leds are from banggood. So maybe the seller knows what exact chip it usess...
    For example (on MDBT42Q module):

    require("neopixel").write(D14, [50,0,0,0, 0,50,0,0, 0,0,50,0, 0,0,0,50, 50,50,50,50, 50,50,50,0]);

    produces green, red, blue, and three "white"s. Not visible on the image, but the uC is at the green side.

    But the library throws an exception if I try to write a single RGBW pixel, because the array length is not divisible by 3:

    require("neopixel").write(D14, [50,0,0,0]);

    My writeRGBW idea would be simply a write that works with multiples of 4 bytes out of the box :)

    1 Attachment

    • rgbw_.jpg

Avatar for AkosLukacs @AkosLukacs started