FastLED 3.9.15
Loading...
Searching...
No Matches

Detailed Description

RGBW LED power consumption model.

Note
Future API enhancement - not yet implemented in power calculations
Currently forwards to PowerModelRGB, ignoring white channel

Definition at line 56 of file power_mgt.h.

#include <power_mgt.h>

Public Member Functions

constexpr PowerModelRGBW ()
 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)
 Custom RGBW power model.
 
constexpr PowerModelRGB toRGB () const
 Convert to RGB model (extracts RGB components, preserves exponent)
 

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: