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

◆ setMaxPowerInVoltsAndMilliamps()

void CFastLED::setMaxPowerInVoltsAndMilliamps ( uint8_t volts,
uint32_t 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 734 of file FastLED.h.

734{ setMaxPowerInMilliWatts(volts * milliamps); }
void setMaxPowerInMilliWatts(uint32_t milliwatts)
Set the maximum power to be used, given in milliwatts.
Definition FastLED.h:738

References setMaxPowerInMilliWatts().

+ Here is the call graph for this function: