FastLED 3.10.6
Loading...
Searching...
No Matches

◆ isPowerLimited()

bool CFastLED::isPowerLimited ( ) const

True if the power limiter lowered the brightness of the most recent show() / showColor() below what it was asked for.

Lets a sketch with no serial console react to hitting its power budget.

Definition at line 358 of file FastLED.cpp.hpp.

358 {
360}
fl::u8 mLastShownScale
brightness the last show()/showColor() applied, after the power limiter
Definition FastLED.h:733
fl::u8 mLastRequestedScale
brightness the last show()/showColor() was asked for
Definition FastLED.h:732

References mLastRequestedScale, and mLastShownScale.