Set all the LEDs on the controller to a given color @param data the CRGB color to set the LEDs to @param nLeds the number of LEDs to set to this color @param scale_pre_mixed the RGB scaling of color adjustment + global brightness to apply to each LED (in RGB8 mode).
| 31 | /// @param nLeds the number of LEDs to set to this color |
| 32 | /// @param scale_pre_mixed the RGB scaling of color adjustment + global brightness to apply to each LED (in RGB8 mode). |
| 33 | virtual void showColor(const CRGB& data, int nLeds, fl::u8 brightness) override { |
| 34 | // CRGB premixed, color_correction; |
| 35 | // getAdjustmentData(brightness, &premixed, &color_correction); |
| 36 | // ColorAdjustment color_adjustment = {premixed, color_correction, brightness}; |
| 37 | ColorAdjustment color_adjustment = getAdjustmentData(brightness); |
| 38 | PixelController<RGB_ORDER, LANES, MASK> pixels(data, nLeds, color_adjustment, getDither()); |
| 39 | showPixels(pixels); |
| 40 | } |
| 41 | |
| 42 | /// Write the passed in RGB data out to the LEDs managed by this controller |
| 43 | /// @param data the RGB data to write out to the strip |
nothing calls this directly
no test coverage detected