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

Method showPixels

src/dmx.h:36–45  ·  view source on GitHub ↗

@copydoc CPixelLEDController::showPixels()

Source from the content-addressed store, hash-verified

34protected:
35 /// @copydoc CPixelLEDController::showPixels()
36 virtual void showPixels(PixelController<RGB_ORDER> & pixels) {
37 int iChannel = 1;
38 while(pixels.has(1)) {
39 DmxSimple.write(iChannel++, pixels.loadAndScale0());
40 DmxSimple.write(iChannel++, pixels.loadAndScale1());
41 DmxSimple.write(iChannel++, pixels.loadAndScale2());
42 pixels.advanceData();
43 pixels.stepDithering();
44 }
45 }
46};
47
48

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