public static enum PiconZero.OutputConfig extends Enum<PiconZero.OutputConfig>
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PiconZero.OutputConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiconZero.OutputConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiconZero.OutputConfig DIGITAL
public static final PiconZero.OutputConfig PWM
public static final PiconZero.OutputConfig SERVO
public static final PiconZero.OutputConfig WS2812B
public static PiconZero.OutputConfig[] values()
for (PiconZero.OutputConfig c : PiconZero.OutputConfig.values()) System.out.println(c);
public static PiconZero.OutputConfig 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 nullpublic int getValue()
Copyright © 2016–2017 mattjlewis. All rights reserved.