|
FastLED 3.9.15
|
| void executeToggles | ( | fl::RxChannel & | rx, |
| fl::span< const PinToggle > | toggles, | ||
| int | pin_tx, | ||
| uint32_t | wait_ms ) |
Execute pin toggles and initialize RX channel for capture.
Reads the current config from the RX channel, sets the TX pin to the initial state, begins capture, and executes the sequence of pin toggles.
| rx | RX channel to initialize and use for capture |
| toggles | Sequence of pin state changes to execute |
| pin_tx | TX pin number to toggle |
| wait_ms | Unused parameter (kept for API compatibility) |
Definition at line 36 of file test.cpp.
References fl::RxChannel::begin(), fl::RxChannel::config(), fl::delayMicroseconds(), FL_ERROR, fl::span< T, Extent >::size(), and fl::RxChannelConfig::start_low.
Referenced by loop().
Here is the call graph for this function:
Here is the caller graph for this function: