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

◆ constructSerpentine()

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

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

62 {
63 XYMap out(width, height, true);
64 out.mOffset = offset;
65 return out;
66}
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:89
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XYMap(), fl::FL_NO_EXCEPT, height, mOffset, offset(), and width.

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

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