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

Method RawCommitDraw

examples/LuminescentGrand/arduino/LedRopeTCL.cpp:111–121  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

109
110///////////////////////////////////////////////////////////////////////////////
111void LedRopeTCL::RawCommitDraw() {
112 FL_WARN("\n\n############## COMMIT DRAW ################\n\n");
113 if (!mControllerAdded) {
114 mControllerAdded = true;
115 fl::CRGB* leds = mLedBuffer.data();
116 size_t n_leds = mLedBuffer.size();
117 FastLED.addLeds<APA102, PIN_DATA, PIN_CLOCK>(leds, n_leds).setScreenMap(mScreenMap);
118 }
119 FL_WARN("FastLED.show");
120 FastLED.show();
121}
122
123///////////////////////////////////////////////////////////////////////////////
124LedRopeTCL::LedRopeTCL(int n_pixels)

Callers 5

PaintVuNotesMethod · 0.80
PaintVuMidNotesFadeMethod · 0.80
VegasVisualizerMethod · 0.80
PaintBrightSurpriseMethod · 0.80
PaintVuSpaceInvadersMethod · 0.80

Calls 4

dataMethod · 0.45
sizeMethod · 0.45
setScreenMapMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected