MCPcopy Create free account
hub / github.com/FastLED/FastLED / makeBusTestConfig

Function makeBusTestConfig

tests/fl/channels/channel.cpp:361–364  ·  view source on GitHub ↗

Minimal WS2812 ChannelConfig on pin 4 with 8 LEDs.

Source from the content-addressed store, hash-verified

359
360/// Minimal WS2812 ChannelConfig on pin 4 with 8 LEDs.
361ChannelConfig makeBusTestConfig(fl::span<CRGB> leds) {
362 auto timing = makeTimingConfig<TIMING_WS2812_800KHZ>();
363 return ChannelConfig(4, timing, leds, RGB);
364}
365
366} // namespace
367

Callers 1

channel.cppFile · 0.85

Calls 1

ChannelConfigClass · 0.50

Tested by

no test coverage detected