FastLED 3.9.15
Loading...
Searching...
No Matches
LED Power Consumption Models

Detailed Description

Configurable power consumption models for different LED types.

+ Collaboration diagram for LED Power Consumption Models:

Classes

struct  PowerModelRGB
 RGB LED power consumption model Used for standard 3-channel LEDs (WS2812, WS2812B, APA102, etc.) More...
 
struct  PowerModelRGBW
 RGBW LED power consumption model. More...
 
struct  PowerModelRGBWW
 RGBWW LED power consumption model (RGB + Cool White + Warm White) More...
 

Functions

PowerModelRGB get_power_model ()
 Get current RGB power model.
 
float get_power_scaling_exponent ()
 Get the current brightness-to-power response exponent.
 
void set_power_model (const PowerModelRGB &model)
 Set custom RGB LED power consumption model.
 
void set_power_model (const PowerModelRGBW &model)
 Set custom RGBW LED power consumption model.
 
void set_power_model (const PowerModelRGBWW &model)
 Set custom RGBWW LED power consumption model.
 
void set_power_scaling_exponent (float exponent)
 Set a non-linear brightness-to-power response exponent.