FastLED 3.9.15
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 80 of file client.cpp.hpp.

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

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

+ Here is the call graph for this function: