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 73 of file LedRopeTCL.cpp.

73 {
74 if (led_buffer_.size() >= mScreenMap.getLength()) {
75 return;
76 }
78 r = 0xff;
79 g = 0xff;
80 b = 0xff;
81 }
82 CRGB c(r, g, b);
83 led_buffer_.push_back(CRGB(r, g, b));
84}
fl::ScreenMap mScreenMap
Definition LedRopeTCL.h:78
fl::HeapVector< CRGB > led_buffer_
Definition LedRopeTCL.h:77
bool isPressed() const
Definition ui.h:98
UIButton buttonAllWhite("All white")

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

+ Here is the call graph for this function: