public static enum AMSColorSensor.LEDDrive extends java.lang.Enum<AMSColorSensor.LEDDrive>
Enum Constant and Description |
---|
MASK |
Percent100 |
Percent12_5 |
Percent25 |
Percent50 |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static AMSColorSensor.LEDDrive |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AMSColorSensor.LEDDrive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMSColorSensor.LEDDrive Percent100
public static final AMSColorSensor.LEDDrive Percent50
public static final AMSColorSensor.LEDDrive Percent25
public static final AMSColorSensor.LEDDrive Percent12_5
public static final AMSColorSensor.LEDDrive MASK
public static AMSColorSensor.LEDDrive[] values()
for (AMSColorSensor.LEDDrive c : AMSColorSensor.LEDDrive.values()) System.out.println(c);
public static AMSColorSensor.LEDDrive 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