public static enum LcdControl.OP extends java.lang.Enum<LcdControl.OP>
Enum Constant and Description |
---|
CLEAR |
TURN_OFF |
TURN_ON |
WRITE0 |
WRITE1 |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static LcdControl.OP |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LcdControl.OP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LcdControl.OP TURN_OFF
public static final LcdControl.OP TURN_ON
public static final LcdControl.OP CLEAR
public static final LcdControl.OP WRITE0
public static final LcdControl.OP WRITE1
public static LcdControl.OP[] values()
for (LcdControl.OP c : LcdControl.OP.values()) System.out.println(c);
public static LcdControl.OP 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 nullpublic long value()