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

Method showPixels

src/platforms/stub/clockless_stub_generic.h:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27protected:
28 virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT {
29 // Capture LED data for simulation/testing
30 mRgb.clear();
31 PixelController<RGB> pixels_rgb = pixels; // Converts to RGB pixels
32 pixels_rgb.disableColorAdjustment();
33 auto iterator = pixels_rgb.as_iterator(RgbwInvalid());
34 iterator.writeWS2812(&mRgb);
35 mTracker.update(mRgb);
36 }
37
38private:
39 ActiveStripTracker mTracker;

Callers

nothing calls this directly

Calls 5

RgbwInvalidClass · 0.85
writeWS2812Method · 0.80
clearMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected