public static enum ModernRoboticsI2cRangeSensor.Register extends java.lang.Enum<ModernRoboticsI2cRangeSensor.Register>
Enum Constant and Description |
---|
FIRMWARE_REV |
FIRST |
LAST |
MANUFACTURE_CODE |
OPTICAL |
SENSOR_ID |
ULTRASONIC |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static ModernRoboticsI2cRangeSensor.Register |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModernRoboticsI2cRangeSensor.Register[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModernRoboticsI2cRangeSensor.Register FIRST
public static final ModernRoboticsI2cRangeSensor.Register FIRMWARE_REV
public static final ModernRoboticsI2cRangeSensor.Register MANUFACTURE_CODE
public static final ModernRoboticsI2cRangeSensor.Register SENSOR_ID
public static final ModernRoboticsI2cRangeSensor.Register ULTRASONIC
public static final ModernRoboticsI2cRangeSensor.Register OPTICAL
public static final ModernRoboticsI2cRangeSensor.Register LAST
public static final ModernRoboticsI2cRangeSensor.Register UNKNOWN
public static ModernRoboticsI2cRangeSensor.Register[] values()
for (ModernRoboticsI2cRangeSensor.Register c : ModernRoboticsI2cRangeSensor.Register.values()) System.out.println(c);
public static ModernRoboticsI2cRangeSensor.Register 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