FastLED 3.10.8
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 1682 of file FastLED.h.

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

References FL_NO_EXCEPT, setMaxPowerInMilliWatts(), and setMaxPowerInVoltsAndMilliamps().

Referenced by setMaxPowerInVoltsAndMilliamps().

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