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

◆ calculate_unscaled_power_mW() [1/2]

fl::u32 calculate_unscaled_power_mW ( const CRGB * ledbuffer,
fl::u16 numLeds )

Determines how many milliwatts the current LED data would draw at max brightness (255)

Parameters
ledbufferthe LED data to check
numLedsthe number of LEDs in the data array
Returns
the number of milliwatts the LED data would consume at max brightness

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

183{
184 return calculate_unscaled_power_mW(fl::span<const CRGB>(ledbuffer, numLeds));
185}
fl::u32 calculate_unscaled_power_mW(fl::span< const CRGB > leds)

References calculate_unscaled_power_mW().

+ Here is the call graph for this function: