public enum StripType extends Enum<StripType>
Summaries of different LED strip types:
Known to work:
Others:
| Enum Constant and Description |
|---|
SK6812_BGRW |
SK6812_BRGW |
SK6812_GBRW |
SK6812_GRBW |
SK6812_RBGW |
SK6812_RGBW |
WS2811_BGR |
WS2811_BRG |
WS2811_GBR |
WS2811_GRB |
WS2811_RBG |
WS2811_RGB |
| Modifier and Type | Field and Description |
|---|---|
static StripType |
SK6812 |
static StripType |
SK6812W |
static StripType |
WS2812 |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlueShift() |
int |
getColourCount() |
int |
getGreenShift() |
int |
getRedShift() |
int |
getWhiteShift() |
static StripType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StripType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StripType SK6812_RGBW
public static final StripType SK6812_RBGW
public static final StripType SK6812_GRBW
public static final StripType SK6812_GBRW
public static final StripType SK6812_BRGW
public static final StripType SK6812_BGRW
public static final StripType WS2811_RGB
public static final StripType WS2811_RBG
public static final StripType WS2811_GRB
public static final StripType WS2811_GBR
public static final StripType WS2811_BRG
public static final StripType WS2811_BGR
public static final StripType WS2812
public static final StripType SK6812
public static final StripType SK6812W
public static StripType[] values()
for (StripType c : StripType.values()) System.out.println(c);
public static StripType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getWhiteShift()
public int getRedShift()
public int getGreenShift()
public int getBlueShift()
public int getColourCount()
Copyright © 2016–2018 mattjlewis. All rights reserved.