public static enum RandomPWM.Mode extends java.lang.Enum<RandomPWM.Mode>
| Enum Constant and Description |
|---|
ALTERNATING |
NOISE |
NOISE_ENVELOPE |
PULSING |
RAMPED_NOISE |
SAW |
| Modifier and Type | Method and Description |
|---|---|
static RandomPWM.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RandomPWM.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomPWM.Mode ALTERNATING
public static final RandomPWM.Mode NOISE
public static final RandomPWM.Mode PULSING
public static final RandomPWM.Mode SAW
public static final RandomPWM.Mode RAMPED_NOISE
public static final RandomPWM.Mode NOISE_ENVELOPE
public static RandomPWM.Mode[] values()
for (RandomPWM.Mode c : RandomPWM.Mode.values()) System.out.println(c);
public static RandomPWM.Mode 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