Package crackers.kobots.devices.lighting
Class PimoroniLEDShim
-
- All Implemented Interfaces:
-
com.diozero.api.DeviceInterface
,java.lang.AutoCloseable
public final class PimoroniLEDShim extends IS31FL3731
Pimoroni LED shim - https://shop.pimoroni.com/products/led-shim?variant=3136952467466
NOTE Discontinued.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PimoroniLEDShim.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Integer
DEFAULT_SHIM_ADDRESS
private final Integer
height
private final Integer
width
public final static PimoroniLEDShim.Companion
Companion
-
Constructor Summary
Constructors Constructor Description PimoroniLEDShim(I2CDeviceInterface shimDevice)
-
Method Summary
Modifier and Type Method Description Integer
getHeight()
Integer
getWidth()
final Unit
pixelRGB(Integer x, Integer r, Integer g, Integer b, Integer frame)
final Unit
pixelColor(Integer x, Color color, Integer frame)
final Unit
set(Integer x, Color color)
final Unit
setAll(Color color)
Integer
pixelAddress(Integer x, Integer y)
Someone else already did all the math... -
Methods inherited from class crackers.kobots.devices.lighting.IS31FL3731
autoPlay, autoPlay, autoPlay, autoPlay, close, fill, fill, fill, getBlink, getFrame, reset, setBlink, setBlink, setFrame, setFrame, showFrame, sleep
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
pixelColor
final Unit pixelColor(Integer x, Color color, Integer frame)
-
pixelAddress
Integer pixelAddress(Integer x, Integer y)
Someone else already did all the math...
-
-
-
-