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

Method writeLPD6803

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

Source from the content-addressed store, hash-verified

329 /// @note Protocol: 16-bit per LED (1 bit marker + 5-5-5 RGB)
330 template <typename CONTAINER_UIN8_T>
331 void writeLPD6803(CONTAINER_UIN8_T* out) FL_NOEXCEPT {
332 auto back_ins = fl::back_inserter(*out);
333 auto pixel_range = makeScaledPixelRangeRGB(this);
334 encodeLPD6803(pixel_range.first, pixel_range.second, back_ins);
335 }
336
337 /// @brief Encode pixels in SM16716 format (zero allocation)
338 /// @param out Output buffer to write encoded bytes

Callers 1

showPixelsMethod · 0.80

Calls 3

back_inserterFunction · 0.85
makeScaledPixelRangeRGBFunction · 0.85
encodeLPD6803Function · 0.85

Tested by

no test coverage detected