public static enum Servo.OutputDeviceUnit extends Enum<Servo.OutputDeviceUnit>
Enum Constant and Description |
---|
DEGREES |
PULSE_WIDTH_MS |
RADIANS |
Modifier and Type | Method and Description |
---|---|
static Servo.OutputDeviceUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Servo.OutputDeviceUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Servo.OutputDeviceUnit PULSE_WIDTH_MS
public static final Servo.OutputDeviceUnit DEGREES
public static final Servo.OutputDeviceUnit RADIANS
public static Servo.OutputDeviceUnit[] values()
for (Servo.OutputDeviceUnit c : Servo.OutputDeviceUnit.values()) System.out.println(c);
public static Servo.OutputDeviceUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2017 mattjlewis. All rights reserved.