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

Method LedRopeTCL

examples/LuminescentGrand/arduino/LedRopeTCL.cpp:124–128  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

122
123///////////////////////////////////////////////////////////////////////////////
124LedRopeTCL::LedRopeTCL(int n_pixels)
125 : mDrawOffset(0), mLazyInitialized(false), mFrameBuffer(n_pixels) {
126 mScreenMap = init_screenmap();
127 mLedBuffer.reserve(mScreenMap.getLength());
128}
129
130///////////////////////////////////////////////////////////////////////////////
131LedRopeTCL::~LedRopeTCL() {

Callers

nothing calls this directly

Calls 3

init_screenmapFunction · 0.85
reserveMethod · 0.45
getLengthMethod · 0.45

Tested by

no test coverage detected