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

◆ constructSerpentine()

XYMap fl::XYMap::constructSerpentine ( u16 width,
u16 height,
u16 offset = 0 )
static

Definition at line 52 of file xymap.cpp.

53 {
54 XYMap out(width, height, true);
55 out.mOffset = offset;
56 return out;
57}
u16 width
Definition xymap.h:127
XYMap(u16 width, u16 height, bool is_serpentine=true, u16 offset=0)
Definition xymap.cpp:59
u16 height
Definition xymap.h:128
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XYMap(), height, mOffset, offset(), and width.

Referenced by fl::LedsXY< W, H >::setSerpentine(), and setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: