FastLED 3.10.8
Loading...
Searching...
No Matches

◆ DrawItem() [2/4]

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

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

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

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

+ Here is the call graph for this function: