public enum PiFaceLed extends Enum<PiFaceLed>
Enum Constant and Description |
---|
LED0 |
LED1 |
LED2 |
LED3 |
LED4 |
LED5 |
LED6 |
LED7 |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static PiFaceLed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiFaceLed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiFaceLed LED0
public static final PiFaceLed LED1
public static final PiFaceLed LED2
public static final PiFaceLed LED3
public static final PiFaceLed LED4
public static final PiFaceLed LED5
public static final PiFaceLed LED6
public static final PiFaceLed LED7
public static PiFaceLed[] values()
for (PiFaceLed c : PiFaceLed.values()) System.out.println(c);
public static PiFaceLed 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()
Copyright © 2012–2014 Pi4J. All rights reserved.