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

Function makeChannel

tests/fastled_core.cpp:524–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522};
523
524static ChannelPtr makeChannel(CRGB* leds, int n) {
525 auto timing = makeTimingConfig<TIMING_WS2812_800KHZ>();
526 ChannelOptions opts;
527 ChannelConfig config(1, timing, fl::span<CRGB>(leds, n), RGB, opts);
528 return Channel::create(config);
529}
530
531static bool controllerInList(CLEDController* ctrl) {
532 CLEDController* cur = CLEDController::head();

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 1

createFunction · 0.85

Tested by

no test coverage detected