Index
All Classes|All Packages
A
- allOff() - Method in class com.diozero.ws281xj.apa102.Apa102LedDriver
- allOff() - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Turn off all pixels and render.
- allOff() - Method in class com.diozero.ws281xj.rpiws281x.WS281x
- allOff() - Method in class com.diozero.ws281xj.spi.WS281xSpi
- Apa102LedDriver - Class in com.diozero.ws281xj.apa102
-
Reference: https://cpldcpu.com/2014/11/30/understanding-the-apa102-superled/ Also: https://github.com/androidthings/contrib-drivers/blob/master/apa102/src/main/java/com/google/android/things/contrib/driver/apa102/Apa102.java
- Apa102LedDriver(int, int, int, int, int) - Constructor for class com.diozero.ws281xj.apa102.Apa102LedDriver
- Apa102Test - Class in com.diozero.ws281xj.sampleapps
- Apa102Test() - Constructor for class com.diozero.ws281xj.sampleapps.Apa102Test
B
- BLUE - Static variable in class com.diozero.ws281xj.PixelColour
C
- close() - Method in class com.diozero.ws281xj.apa102.Apa102LedDriver
- close() - Method in interface com.diozero.ws281xj.LedDriverInterface
- close() - Method in class com.diozero.ws281xj.rpiws281x.WS281x
- close() - Method in class com.diozero.ws281xj.spi.WS281xSpi
- COLOUR_COMPONENT_MAX - Static variable in class com.diozero.ws281xj.PixelColour
- colourWipe(LedDriverInterface, int, int) - Static method in class com.diozero.ws281xj.PixelAnimations
- com.diozero.ws281xj - package com.diozero.ws281xj
- com.diozero.ws281xj.apa102 - package com.diozero.ws281xj.apa102
- com.diozero.ws281xj.rpiws281x - package com.diozero.ws281xj.rpiws281x
- com.diozero.ws281xj.sampleapps - package com.diozero.ws281xj.sampleapps
- com.diozero.ws281xj.spi - package com.diozero.ws281xj.spi
- createColourHSB(float, float, float) - Static method in class com.diozero.ws281xj.PixelColour
-
Creates a colour based on the specified values in the HSB colour model.
- createColourHSL(float, float, float) - Static method in class com.diozero.ws281xj.PixelColour
-
Creates a colour based on the specified values in the HSL colour model.
- createColourRGB(float, float, float) - Static method in class com.diozero.ws281xj.PixelColour
-
Create a colour from relative RGB values
- createColourRGB(int, int, int) - Static method in class com.diozero.ws281xj.PixelColour
-
Create a colour from int RGB values
D
- delay(int) - Static method in class com.diozero.ws281xj.PixelAnimations
- demo(LedDriverInterface) - Static method in class com.diozero.ws281xj.PixelAnimations
G
- getBlueComponent(int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Get the 8-bit blue component value for the specified pixel.
- getBlueComponent(int) - Static method in class com.diozero.ws281xj.PixelColour
- getBlueShift() - Method in enum com.diozero.ws281xj.StripType
- getColourCount() - Method in enum com.diozero.ws281xj.StripType
- getFrequency() - Method in enum com.diozero.ws281xj.spi.WS281xSpi.Protocol
- getGreenComponent(int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Get the 8-bit green component value for the specified pixel.
- getGreenComponent(int) - Static method in class com.diozero.ws281xj.PixelColour
- getGreenShift() - Method in enum com.diozero.ws281xj.StripType
- getNumPixels() - Method in class com.diozero.ws281xj.apa102.Apa102LedDriver
- getNumPixels() - Method in interface com.diozero.ws281xj.LedDriverInterface
- getNumPixels() - Method in class com.diozero.ws281xj.rpiws281x.WS281x
- getNumPixels() - Method in class com.diozero.ws281xj.spi.WS281xSpi
- getPixelColour(int) - Method in class com.diozero.ws281xj.apa102.Apa102LedDriver
- getPixelColour(int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Get the current colour for the specified pixel.
- getPixelColour(int) - Method in class com.diozero.ws281xj.rpiws281x.WS281x
- getPixelColour(int) - Method in class com.diozero.ws281xj.spi.WS281xSpi
- getRedComponent(int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Get the 8-bit red component value for the specified pixel.
- getRedComponent(int) - Static method in class com.diozero.ws281xj.PixelColour
- getRedShift() - Method in enum com.diozero.ws281xj.StripType
- getWhiteShift() - Method in enum com.diozero.ws281xj.StripType
- GREEN - Static variable in class com.diozero.ws281xj.PixelColour
I
- initialise(int, int, int, int, int, int, int) - Static method in class com.diozero.ws281xj.rpiws281x.WS281xNative
L
- LedDriverInterface - Interface in com.diozero.ws281xj
- LIGHT_BLUE - Static variable in class com.diozero.ws281xj.PixelColour
M
- main(String[]) - Static method in class com.diozero.ws281xj.sampleapps.Apa102Test
- main(String[]) - Static method in class com.diozero.ws281xj.sampleapps.WS281xSpiTest
- main(String[]) - Static method in class com.diozero.ws281xj.sampleapps.WS281xTest
O
- ORANGE - Static variable in class com.diozero.ws281xj.PixelColour
P
- PINK - Static variable in class com.diozero.ws281xj.PixelColour
- PixelAnimations - Class in com.diozero.ws281xj
- PixelAnimations() - Constructor for class com.diozero.ws281xj.PixelAnimations
- PixelColour - Class in com.diozero.ws281xj
-
0x00RRGGBB
- PixelColour() - Constructor for class com.diozero.ws281xj.PixelColour
- PROTOCOL_400KHZ - com.diozero.ws281xj.spi.WS281xSpi.Protocol
-
400kHz bit encodings: '0': --________ '1': -----_____ Timing requirements are derived from this document: http://www.adafruit.com/datasheets/WS2811.pdf The period is 2.5us, and we use a 10-bit packet for this encoding: '0': 1100000000 mark: 0.5us, space: 2us '1': 1111100000 mark: 1.25us, space: 1.25us
- PROTOCOL_800KHZ - com.diozero.ws281xj.spi.WS281xSpi.Protocol
-
800kHz bit encodings: '0': ----________ '1': --------____ The period is 1.25us, giving a basic frequency of 800kHz.
- PURPLE - Static variable in class com.diozero.ws281xj.PixelColour
R
- rainbow(LedDriverInterface, int) - Static method in class com.diozero.ws281xj.PixelAnimations
- RAINBOW - Static variable in class com.diozero.ws281xj.PixelColour
- rainbowCycle(LedDriverInterface, int) - Static method in class com.diozero.ws281xj.PixelAnimations
- RED - Static variable in class com.diozero.ws281xj.PixelColour
- render() - Method in class com.diozero.ws281xj.apa102.Apa102LedDriver
- render() - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Push any updated colours to the LED strip.
- render() - Method in class com.diozero.ws281xj.rpiws281x.WS281x
- render() - Static method in class com.diozero.ws281xj.rpiws281x.WS281xNative
- render() - Method in class com.diozero.ws281xj.spi.WS281xSpi
-
Pixels are sent as follows: - The first transmitted pixel is the pixel closest to the transmitter.
S
- setBlueComponent(int, int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the 8-bit blue component value for the specified pixel.
- setBlueComponent(int, int) - Static method in class com.diozero.ws281xj.PixelColour
- setGreenComponent(int, int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the 8-bit green component value for the specified pixel.
- setGreenComponent(int, int) - Static method in class com.diozero.ws281xj.PixelColour
- setPixelColour(int, int) - Method in class com.diozero.ws281xj.apa102.Apa102LedDriver
- setPixelColour(int, int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the colour for the specified pixel.
- setPixelColour(int, int) - Method in class com.diozero.ws281xj.rpiws281x.WS281x
- setPixelColour(int, int) - Method in class com.diozero.ws281xj.spi.WS281xSpi
- setPixelColourHSB(int, float, float, float) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the colour for the specified pixel using Hue Saturation Brightness (HSB) values.
- setPixelColourHSL(int, float, float, float) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the colour for the specified pixel using Hue Saturation Luminance (HSL) values.
- setPixelColourRGB(int, int, int, int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the colour for the specified pixel using individual red / green / blue 8-bit values.
- setRedComponent(int, int) - Method in interface com.diozero.ws281xj.LedDriverInterface
-
Set the 8-bit red component value for the specified pixel.
- setRedComponent(int, int) - Static method in class com.diozero.ws281xj.PixelColour
- SK6812 - Static variable in enum com.diozero.ws281xj.StripType
- SK6812_BGRW - com.diozero.ws281xj.StripType
- SK6812_BRGW - com.diozero.ws281xj.StripType
- SK6812_GBRW - com.diozero.ws281xj.StripType
- SK6812_GRBW - com.diozero.ws281xj.StripType
- SK6812_RBGW - com.diozero.ws281xj.StripType
- SK6812_RGBW - com.diozero.ws281xj.StripType
- SK6812W - Static variable in enum com.diozero.ws281xj.StripType
- StripType - Enum in com.diozero.ws281xj
-
Summaries of different LED strip types:
T
- terminate() - Static method in class com.diozero.ws281xj.rpiws281x.WS281xNative
- theatreChase(LedDriverInterface, int, int) - Static method in class com.diozero.ws281xj.PixelAnimations
- theatreChaseRainbow(LedDriverInterface, int) - Static method in class com.diozero.ws281xj.PixelAnimations
V
- validateColourComponent(String, int) - Static method in class com.diozero.ws281xj.PixelColour
- valueOf(String) - Static method in enum com.diozero.ws281xj.spi.WS281xSpi.Protocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.diozero.ws281xj.StripType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.diozero.ws281xj.spi.WS281xSpi.Protocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.diozero.ws281xj.StripType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wheel(int) - Static method in class com.diozero.ws281xj.PixelColour
-
Input a value 0 to 255 to get a colour value.
- WS2811_BGR - com.diozero.ws281xj.StripType
- WS2811_BRG - com.diozero.ws281xj.StripType
- WS2811_GBR - com.diozero.ws281xj.StripType
- WS2811_GRB - com.diozero.ws281xj.StripType
- WS2811_RBG - com.diozero.ws281xj.StripType
- WS2811_RGB - com.diozero.ws281xj.StripType
- WS2812 - Static variable in enum com.diozero.ws281xj.StripType
- WS281x - Class in com.diozero.ws281xj.rpiws281x
-
Provides support for WS2811B / WS2812B aka Adafriut NeoPixel LEDs via a JNI wrapper around the rpi_ws281x C library.
- WS281x(int, int, int) - Constructor for class com.diozero.ws281xj.rpiws281x.WS281x
- WS281x(int, int, int, int, int, StripType) - Constructor for class com.diozero.ws281xj.rpiws281x.WS281x
- WS281x(int, int, int, int, int, StripType, int) - Constructor for class com.diozero.ws281xj.rpiws281x.WS281x
- WS281xNative - Class in com.diozero.ws281xj.rpiws281x
- WS281xNative() - Constructor for class com.diozero.ws281xj.rpiws281x.WS281xNative
- WS281xSpi - Class in com.diozero.ws281xj.spi
-
References: https://os.mbed.com/users/JacobBramley/code/PixelArray/file/47802e75974e/neopixel.cpp https://github.com/jgarff/rpi_ws281x/blob/master/ws2811.c
- WS281xSpi(int, int, WS281xSpi.Protocol, StripType, int, int) - Constructor for class com.diozero.ws281xj.spi.WS281xSpi
- WS281xSpi(int, int, StripType, int, int) - Constructor for class com.diozero.ws281xj.spi.WS281xSpi
- WS281xSpi.Protocol - Enum in com.diozero.ws281xj.spi
- WS281xSpiTest - Class in com.diozero.ws281xj.sampleapps
- WS281xSpiTest() - Constructor for class com.diozero.ws281xj.sampleapps.WS281xSpiTest
- WS281xTest - Class in com.diozero.ws281xj.sampleapps
- WS281xTest() - Constructor for class com.diozero.ws281xj.sampleapps.WS281xTest
Y
- YELLOW - Static variable in class com.diozero.ws281xj.PixelColour
All Classes|All Packages