Modifier and Type | Method and Description |
---|---|
static GPIO.Mode |
GPIO.Mode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GPIO.Mode[] |
GPIO.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
GPIO.setMode(int port,
int pin,
GPIO.Mode mode)
Configures the pin mode using the enumeration
GPIO.Mode . |