FastLED 3.10.8
Loading...
Searching...
No Matches

◆ testDriver()

void testDriver ( const char * driver_name,
const fl::NamedTimingConfig & timing_config,
int pin_data,
size_t num_leds,
CRGB * leds,
EOrder color_order,
fl::shared_ptr< fl::RxChannel > rx_channel,
fl::span< uint8_t > rx_buffer,
int base_strip_size,
fl::RxDeviceType rx_type,
fl::DriverTestResult & result )

Test a specific driver with given timing configuration.

Parameters
driver_nameDriver name to test
timing_configNamed timing configuration (includes timing and name)
pin_dataTX pin number
num_ledsNumber of LEDs
ledsLED array
color_orderColor order
rx_channelRX channel for loopback
rx_bufferRX buffer for capture
base_strip_sizeBase strip size for error reporting (usually same as num_leds)
rx_typeRX device type for error reporting
resultDriver test result tracker (modified)
Note
Automatically discards first frame (timing warm-up) on first run

References leds.