|
FastLED 3.9.15
|
|
static |
Template factory method to create RX device by type.
| TYPE | Device type from RxDeviceType enum |
| pin | GPIO pin number for receiving signals |
Platform-specific implementations (e.g., ESP32) provide explicit template specializations for ISR and RMT types in rx_device.cpp. On unsupported platforms, returns a DummyRxDevice.
Hardware parameters (buffer_size, hz) are passed via RxConfig in begin().
Example:
References FL_NOEXCEPT.
Referenced by ~RxDevice(), and fl::anonymous_namespace{channel.cpp.hpp}::createBackendDevice().
Here is the caller graph for this function: