public static enum MaestroServoProvider.InterfaceType extends Enum<MaestroServoProvider.InterfaceType>
Modifier and Type | Method and Description |
---|---|
static MaestroServoProvider.InterfaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaestroServoProvider.InterfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaestroServoProvider.InterfaceType USB
public static final MaestroServoProvider.InterfaceType UART
public static MaestroServoProvider.InterfaceType[] values()
for (MaestroServoProvider.InterfaceType c : MaestroServoProvider.InterfaceType.values()) System.out.println(c);
public static MaestroServoProvider.InterfaceType 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 © 2012–2021 Pi4J. All rights reserved.