Update all our controllers with the current led colors, using the passed in brightness.
234 {
238#if SKETCH_HAS_LARGE_MEMORY
240#endif
241 }
243
244
247 }
248
249
252
256 } else {
258 }
262 }
263
266 if (pCur->getEnabled()) {
267 pCur->showLedsInternal(
scale);
268 }
269 pCur = pCur->next();
270
271 }
272
276 if (pCur->getEnabled()) {
278 }
280 pCur = pCur->next();
281 }
285}
#define MAX_CLED_CONTROLLERS
static void * gControllersData[MAX_CLED_CONTROLLERS]
fl::UISlider scale("Scale", 4,.1, 4,.1)
power_func mPPowerFunc
function for overriding brightness when using FastLED.show();
void onEndShowLeds()
Manually trigger the end show LEDs event.
void onBeginFrame()
Manually trigger the begin frame event.
void countFPS(int nFrames=25)
For debugging, this will keep track of time between calls to countFPS().
fl::u32 mNPowerData
max power use parameter
fl::u16 mNFPS
tracking for current frames per second (FPS) value
fl::u32 mNMinMicros
minimum µs between frames, used for capping frame rates
virtual void * beginShowLeds(int size) FL_NOEXCEPT
CLEDController & setDither(fl::u8 ditherMode=BINARY_DITHER) FL_NOEXCEPT
Set the dithering mode for this controller to use.
CLEDController * next() FL_NOEXCEPT
Get the next controller in the linked list after this one.
virtual int size() const FL_NOEXCEPT
How many LEDs does this controller manage?
static CLEDController * head() FL_NOEXCEPT
Get the first LED controller in the linked list of controllers.
bool getEnabled() FL_NOEXCEPT
fl::CLEDController CLEDController
fl::UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
void run(fl::u32 microseconds, ExecFlags flags)
Run selected task subsystems.
fl::u32 micros()
Universal microsecond timer - returns microseconds since system startup.