FastLED 3.10.6
Loading...
Searching...
No Matches

◆ constructSerpentine()

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

Definition at line 60 of file xymap.cpp.hpp.

61 {
62 XYMap out(width, height, true);
63 out.mOffset = offset;
64 return out;
65}
u16 width
Definition xymap.h:128
u16 height
Definition xymap.h:129
XYMap(u16 width, u16 height, bool is_serpentine=true, u16 offset=0) FL_NO_EXCEPT
Definition xymap.cpp.hpp:88
fl::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: