FastLED 3.10.8
Loading...
Searching...
No Matches

◆ setSegment()

void fl::WLEDClient::setSegment ( size_t start,
size_t end )

Set a segment range for subsequent operations.

Parameters
startStarting LED index (inclusive)
endEnding LED index (exclusive)

After calling this, operations will affect only the specified segment. Delegates to controller's setSegment method.

Definition at line 81 of file client.cpp.hpp.

81 {
82 FL_DBG("WLEDClient: setSegment(" << start << ", " << end << ")");
83
84 if (!mController) {
85 return;
86 }
87
88 mController->setSegment(start, end);
89}
fl::shared_ptr< IFastLED > mController
Definition client.h:148
#define FL_DBG
Definition log.h:553

References fl::adl_barrier::end(), FL_DBG, fl::FL_NO_EXCEPT, and mController.

+ Here is the call graph for this function: