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

◆ fixed_power_mW()

static fl::u32 fixed_power_mW ( fl::u32 led_count)
static

Definition at line 373 of file power_mgt.cpp.hpp.

373 {
374 return static_cast<fl::u32>(gPowerModel().dark_mW) * led_count;
375}
static PowerModelRGB & gPowerModel() FL_NO_EXCEPT
Global RGB power model (initialized to WS2812 @ 5V defaults, linear response)
fl::u8 dark_mW
Dark LED baseline power consumption, in milliwatts.
Definition power_mgt.h:34

References PowerModelRGB::dark_mW, FL_NO_EXCEPT, and gPowerModel().

Referenced by calculate_max_brightness_for_power_mW(), calculate_max_brightness_for_power_mW(), and CFastLED::getEstimatedPowerInMilliWatts().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: