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

683 {
684 return fl::RxChannel::create(config);
685}
static RxChannelPtr create(const RxChannelConfig &config) FL_NOEXCEPT

References fl::RxChannel::create().

+ Here is the call graph for this function: