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

◆ addRx()

fl::RxChannelPtr CFastLED::addRx ( const fl::RxChannelConfig & config)
static

Add an RX channel with runtime configuration.

Creates a first-class RX channel handle backed by the existing platform RX device layer. The returned object exposes RX-specific lifecycle methods such as begin(), wait(), decode(), and getRawEdgeTimes().

Parameters
configRX channel configuration (pin, backend, capture settings)
Returns
Shared pointer to RxChannel

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

884 {
885 return fl::RxChannel::create(config);
886}
static RxChannelPtr create(const RxChannelConfig &config) FL_NO_EXCEPT

References fl::RxChannel::create(), and FL_NO_EXCEPT.

+ Here is the call graph for this function: