FastLED 3.9.15
Loading...
Searching...
No Matches

◆ testRxChannel()

bool testRxChannel ( fl::shared_ptr< fl::RxChannel > rx_channel,
int pin_tx,
int pin_rx,
uint32_t hz,
size_t buffer_size )

Test RX channel with manual GPIO toggle.

Parameters
rx_channelRX channel to test
pin_txGPIO pin to toggle
pin_rxGPIO pin for RX
hzSampling frequency in Hz
buffer_sizeSize of RX buffer in symbols
Returns
true if test passes, false otherwise

Definition at line 11 of file AutoResearchHelpers.cpp.

16 {
17 // Delegate to library implementation
18 return fl::validation::testRxChannel(rx_channel, pin_tx, pin_rx, hz, buffer_size);
19}
bool testRxChannel(fl::shared_ptr< fl::RxChannel > rx_channel, int pin_tx, int pin_rx, u32 hz, size_t buffer_size)
Test RX channel with manual GPIO toggle pattern.

References fl::validation::testRxChannel().

Referenced by loop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: