FastLED 3.9.15
Loading...
Searching...
No Matches
test.h File Reference
#include "fl/log/log.h"
#include "fl/channels/rx/channel.h"
+ Include dependency graph for test.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PinToggle
 Pin toggle instruction for RX channel testing. More...
 

Functions

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.
 
bool testRxChannelSanity (fl::shared_ptr< fl::RxChannel > rx, int pin_tx)
 Test RX channel functionality with low-frequency pattern.
 
bool validateEdgeTiming (fl::span< const fl::EdgeTime > edges, size_t edge_count, fl::span< const PinToggle > expected_pattern, uint32_t tolerance_percent)
 Validate captured edge timings against expected pattern.
 
bool verifyJumperWire (int pin_tx, int pin_rx)
 Verify jumper wire connection between TX and RX pins.
 

Class Documentation

◆ PinToggle

struct PinToggle
Class Members
uint32_t delay_us
bool is_high