Class PixelBufController
-
- All Implemented Interfaces:
-
crackers.kobots.mqtt.homeassistant.LightController
public class PixelBufController implements LightController
Controls all or part of a "strand" of
PixelBuf(e.g. WS28xx LEDs)
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class>lightEffectsprivate final StringcontrollerIcon
-
Constructor Summary
Constructors Constructor Description PixelBufController(PixelBuf theStrand, Set<LightEffector<Triple<PixelBuf, Integer, Integer>>> effects, Integer offset, Integer count)
-
Method Summary
Modifier and Type Method Description <Error class: unknown class>getLightEffects()StringgetControllerIcon()Unitset(LightCommand command)Set the state of the light. LightStatecurrent()Get the state of the light. -
-
Method Detail
-
getLightEffects
<Error class: unknown class> getLightEffects()
-
getControllerIcon
String getControllerIcon()
-
set
Unit set(LightCommand command)
Set the state of the light.
-
current
LightState current()
Get the state of the light.
-
-
-
-