Enum Constant and Description |
---|
INPUT_PIN_0
Selects input I/O pin 0
|
OUTPUT_PIN_0
Selects output I/O pin 0
|
OUTPUT_PIN_1
Selects output I/O pin 1
|
OUTPUT_PIN_2
Selects output I/O pin 2
|
Modifier and Type | Method and Description |
---|---|
static IONumber |
getIONumber(byte value) |
byte |
getValue() |
static IONumber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IONumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IONumber OUTPUT_PIN_0
public static final IONumber OUTPUT_PIN_1
public static final IONumber OUTPUT_PIN_2
public static final IONumber INPUT_PIN_0
public static IONumber[] values()
for (IONumber c : IONumber.values()) System.out.println(c);
public static IONumber 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 byte getValue()
public static IONumber getIONumber(byte value)