These are chat archives for Makuna/NeoPixelBus

3rd
Jul 2018
sticilface
@sticilface
Jul 03 2018 22:56
@Makuna hi there. back doing some basic work with neopixel bus. Trying (although not strictly speaking necessary) to write a sketch that the use can define any type of bus and colour feature to work (mainly Rgb vs Rgbw. whilst i can derive the underlying colour class using typedef LEDcolour_t::ColorObject color_t; there is no support for type conversion between RgbColor and Rgbwcolor. I seem to remember this was intentionally. Would it be possible to add implicit conversion between Rgb and Rugby colours so that the hsl conversion works and the blends work (even if it means just ignoring the white LED)?