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

Method draw

tests/fl/fx/video.cpp:266–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 Fake2d() : Fx2d(XYMap::constructRectangularGrid(1,1)) {}
265
266 void draw(DrawContext context) override {
267 CRGB c = mColors[mFrameCounter % mColors.size()];
268 context.leds[0] = c;
269 mFrameCounter++;
270 }
271
272 bool hasFixedFrameRate(float *fps) const override {
273 *fps = 1;

Callers 10

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
renderFloatFunction · 0.45
renderQ31_DirectFunction · 0.45
warmupMethod · 0.45
renderFloatFunction · 0.45
renderFPFunction · 0.45
renderFloatFunction · 0.45
renderQ31_DirectFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected