Class PixelBufController
-
- All Implemented Interfaces:
-
crackers.kobots.mqtt.homeassistant.LightController
public final class PixelBufController implements LightController
Controls a full "strand" of
PixelBuf
(e.g. WS28xx LEDs) TODO needs a start and end index
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class>
lightEffects
private final String
controllerIcon
-
Constructor Summary
Constructors Constructor Description PixelBufController(PixelBuf theStrand, Map<String, Function1<PixelBuf, Object>> effects)
-
Method Summary
Modifier and Type Method Description <Error class: unknown class>
getLightEffects()
String
getControllerIcon()
Unit
set(LightCommand command)
Set the state of the light. LightState
current()
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.
-
-
-
-