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 classPimoroniLEDShim.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerDEFAULT_SHIM_ADDRESSprivate final Integerheightprivate final Integerwidthpublic final static PimoroniLEDShim.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description PimoroniLEDShim(I2CDeviceInterface shimDevice)
-
Method Summary
Modifier and Type Method Description IntegergetHeight()IntegergetWidth()final UnitpixelRGB(Integer x, Integer r, Integer g, Integer b, Integer frame)final UnitpixelColor(Integer x, Color color, Integer frame)final Unitset(Integer x, Color color)final <Error class: unknown class>setAll(Color color)IntegerpixelAddress(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...
-
-
-
-