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

◆ setMaxPowerInVoltsAndMilliamps()

void CFastLED::setMaxPowerInVoltsAndMilliamps ( fl::u8 volts,
fl::u32 milliamps )
inline

Set the maximum power to be used, given in volts and milliamps.

Parameters
voltshow many volts the leds are being driven at (usually 5)
milliampsthe maximum milliamps of power draw you want

Definition at line 808 of file FastLED.h.

808{ setMaxPowerInMilliWatts(volts * milliamps); }
void setMaxPowerInMilliWatts(fl::u32 milliwatts)
Set the maximum power to be used, given in milliwatts.
Definition FastLED.h:812

References setMaxPowerInMilliWatts().

+ Here is the call graph for this function: