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

◆ channelEvents()

fl::ChannelEvents & CFastLED::channelEvents ( )
static

Access the channel event system.

Returns
Reference to the ChannelEvents singleton
Note
Use to register callbacks for channel lifecycle events
int id = FastLED.channelEvents().onChannelCreated.add([](const fl::IChannel& ch) { ... });
CFastLED FastLED
Global LED strip management instance.
Polymorphic identification base for any channel in the system.
Definition ichannel.h:23

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

736 {
738}
static ChannelEvents & instance()

References fl::ChannelEvents::instance().

+ Here is the call graph for this function: