public static enum NeoPixel.ColorOrdering extends java.lang.Enum<NeoPixel.ColorOrdering>
Enum Constant and Description |
---|
MW_WS2811_GBR
Green, blue, red order
|
MW_WS2811_GRB
Green, red, blue order
|
MW_WS2811_RBG
Red, blue, green order
|
MW_WS2811_RGB
Red, green, blue order
|
Modifier and Type | Method and Description |
---|---|
static NeoPixel.ColorOrdering |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeoPixel.ColorOrdering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeoPixel.ColorOrdering MW_WS2811_RGB
public static final NeoPixel.ColorOrdering MW_WS2811_RBG
public static final NeoPixel.ColorOrdering MW_WS2811_GRB
public static final NeoPixel.ColorOrdering MW_WS2811_GBR
public static NeoPixel.ColorOrdering[] values()
for (NeoPixel.ColorOrdering c : NeoPixel.ColorOrdering.values()) System.out.println(c);
public static NeoPixel.ColorOrdering valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null