public enum PibrellaOutput extends Enum<PibrellaOutput>
Enum Constant and Description |
---|
E |
F |
G |
H |
LED_GREEN |
LED_RED |
LED_YELLOW |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
Pin |
getPin() |
static PibrellaOutput |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PibrellaOutput[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PibrellaOutput E
public static final PibrellaOutput F
public static final PibrellaOutput G
public static final PibrellaOutput H
public static final PibrellaOutput LED_RED
public static final PibrellaOutput LED_YELLOW
public static final PibrellaOutput LED_GREEN
public static PibrellaOutput[] values()
for (PibrellaOutput c : PibrellaOutput.values()) System.out.println(c);
public static PibrellaOutput 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 getIndex()
public Pin getPin()
Copyright © 2012–2016 Pi4J. All rights reserved.