|
FastLED 3.10.6
|
|
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::FL_NO_EXCEPT.
Referenced by ~RxDevice(), fl::anonymous_namespace{channel.cpp.hpp}::createBackendDevice(), and fl::RxDevice::create< RxDeviceType::PIO >().
Here is the caller graph for this function: