FastLED 3.9.15
Loading...
Searching...
No Matches

◆ RawDrawPixel() [2/2]

void LedRopeTCL::RawDrawPixel ( uint8_t r,
uint8_t g,
uint8_t b )
virtual

Implements LedRopeInterface.

Definition at line 84 of file LedRopeTCL.cpp.

84 {
85 if (mLedBuffer.size() >= mScreenMap.getLength()) {
86 return;
87 }
89 r = 0xff;
90 g = 0xff;
91 b = 0xff;
92 }
93 fl::CRGB c(r, g, b);
94 mLedBuffer.push_back(fl::CRGB(r, g, b));
95}
fl::ScreenMap mScreenMap
Definition LedRopeTCL.h:77
fl::vector< fl::CRGB > mLedBuffer
Definition LedRopeTCL.h:76
bool isPressed() const FL_NOEXCEPT
Definition button.h:45
fl::UIButton buttonAllWhite("All white")
fl::CRGB CRGB
Definition video.h:15

References fl::UIButton::isPressed(), mLedBuffer, and mScreenMap.

+ Here is the call graph for this function: