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

◆ DrawItem() [2/4]

fl::DrawItem::DrawItem ( u8 pin,
u16 numLeds,
bool is_rgbw )

Definition at line 10 of file rectangular_draw_buffer.cpp.hpp.

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

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

+ Here is the call graph for this function: