public static enum ModernRoboticsI2cColorSensor.Command extends java.lang.Enum<ModernRoboticsI2cColorSensor.Command>
Enum Constant and Description |
---|
ACTIVE_LED |
CALIBRATE_BLACK |
CALIBRATE_WHITE |
HZ50 |
HZ60 |
PASSIVE_LED |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static ModernRoboticsI2cColorSensor.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModernRoboticsI2cColorSensor.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModernRoboticsI2cColorSensor.Command ACTIVE_LED
public static final ModernRoboticsI2cColorSensor.Command PASSIVE_LED
public static final ModernRoboticsI2cColorSensor.Command HZ50
public static final ModernRoboticsI2cColorSensor.Command HZ60
public static final ModernRoboticsI2cColorSensor.Command CALIBRATE_BLACK
public static final ModernRoboticsI2cColorSensor.Command CALIBRATE_WHITE
public static ModernRoboticsI2cColorSensor.Command[] values()
for (ModernRoboticsI2cColorSensor.Command c : ModernRoboticsI2cColorSensor.Command.values()) System.out.println(c);
public static ModernRoboticsI2cColorSensor.Command 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