RingLayout
Source:
RingLayout.h
RingLayout¶
src/light/layouts/RingLayout.h:24Inherits:
LayoutBase
Layout of a single ring of evenly-spaced LEDs.
Public Attributes¶
uint8_t nrOfLEDs = 24
uint16_t angleFirst = 0
uint16_t rotation = 360
bool clockwise =
uint8_t scale = 1
Public Methods¶
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline nrOfLightsType lightCount() const override
virtual inline void forEachCoord(constCoordSink & sink) const override