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

◆ DrawItem() [2/2]

fl::DrawItem::DrawItem ( uint8_t pin,
uint16_t numLeds,
bool is_rgbw )

Definition at line 9 of file rectangular_draw_buffer.cpp.

10 : mPin(pin), mIsRgbw(is_rgbw) {
11 if (is_rgbw) {
12 numLeds = Rgbw::size_as_rgb(numLeds);
13 }
14 mNumBytes = numLeds * 3;
15}
static uint32_t size_as_rgb(uint32_t num_of_rgbw_pixels)
Definition rgbw.h:41

References mIsRgbw, mNumBytes, mPin, and Rgbw::size_as_rgb().

+ Here is the call graph for this function: