I’m taking some of the WLED patterns and customising them to cater for bespoke installations.
I wish to extend some 2D patterns to handle RGBW rather than just RGB.
For instance, the current Distortion Waves pattern does not handle the dedicated white element for RGBW lights.
I see there is the line:
SEGMENT.setPixelColorXY(x, y, RGBW32(valueR, valueG, valueB, 0));
I’m assuming the 4th parameter to RGBW32 represents the white element. However, when I pass values in rather than just zero, they appear to be ignored.
Is there another area of code I need to address to get the white element to work?