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

Method showPixels

src/dmx.h:73–82  ·  view source on GitHub ↗

@copydoc CPixelLEDController::showPixels().

Source from the content-addressed store, hash-verified

71
72 /// @copydoc CPixelLEDController::showPixels().
73 virtual void showPixels(PixelController<RGB_ORDER> & pixels) {
74 int iChannel = 1;
75 while(pixels.has(1)) {
76 DMXSerial.write(iChannel++, pixels.loadAndScale0());
77 DMXSerial.write(iChannel++, pixels.loadAndScale1());
78 DMXSerial.write(iChannel++, pixels.loadAndScale2());
79 pixels.advanceData();
80 pixels.stepDithering();
81 }
82 }
83};
84
85

Callers

nothing calls this directly

Calls 4

hasMethod · 0.45
writeMethod · 0.45
advanceDataMethod · 0.45
stepDitheringMethod · 0.45

Tested by

no test coverage detected