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

Method writeWS2801

src/fl/chipsets/encoders/pixel_iterator.h:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 /// @note Uses unified encoder: src/fl/chipsets/encoders/ws2801.h
289 template <typename CONTAINER_UIN8_T>
290 void writeWS2801(CONTAINER_UIN8_T* out) FL_NOEXCEPT {
291 auto back_ins = fl::back_inserter(*out);
292 auto pixel_range = makeScaledPixelRangeRGB(this);
293 encodeWS2801(pixel_range.first, pixel_range.second, back_ins);
294 }
295
296 /// @brief Encode pixels in WS2803 format (zero allocation)
297 /// @param out Output buffer to write encoded bytes

Callers 1

showPixelsMethod · 0.80

Calls 3

back_inserterFunction · 0.85
makeScaledPixelRangeRGBFunction · 0.85
encodeWS2801Function · 0.70

Tested by

no test coverage detected