FastLED 3.10.8
Loading...
Searching...
No Matches

Detailed Description

RGBW LED power consumption model Used for 4-channel LEDs (SK6812 RGBW and similar).

Definition at line 58 of file power_mgt.h.

#include <power_mgt.h>

Public Member Functions

constexpr PowerModelRGBW () FL_NO_EXCEPT
 Default constructor - SK6812 RGBW @ 5V estimate, linear response.
 
constexpr PowerModelRGBW (fl::u8 r, fl::u8 g, fl::u8 b, fl::u8 w, fl::u8 d, float e=1.0f) FL_NO_EXCEPT
 Custom RGBW power model.
 
constexpr PowerModelRGB toRGB () const FL_NO_EXCEPT
 The RGB emitters alone, without the white one.
 

Public Attributes

fl::u8 blue_mW
 Blue channel power at full brightness (255), in milliwatts.
 
fl::u8 dark_mW
 Dark LED baseline power consumption, in milliwatts.
 
float exponent
 Brightness-to-power response exponent (1.0 = linear)
 
fl::u8 green_mW
 Green channel power at full brightness (255), in milliwatts.
 
fl::u8 red_mW
 Red channel power at full brightness (255), in milliwatts.
 
fl::u8 white_mW
 White channel power at full brightness (255), in milliwatts.
 

The documentation for this struct was generated from the following file: