Makuna / NeoPixelBus

An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
GNU Lesser General Public License v3.0
1.18k stars 261 forks source link

Support RGBWxx color features #677

Closed Makuna closed 1 year ago

Makuna commented 1 year ago

Is your feature request related to a problem? Please describe. Some strips use two three channel LED driver chips or a single six channel LED driver chip to driver a RGBW LEDs. This leaves two unused element channels and currently requires the user to understand that odd pixels are W only.

Describe the solution you'd like Expose a NeoRgbwxxFeature that uses a RgbwColor and handles the mapping so a pixel is a pixel.

Describe alternatives you've considered The current work around is to write odd pixels using a RgbColor with the values for White.

Additional context Discussion with Implementation Details

Makuna commented 1 year ago

v2.7.4