public static enum PiconZero.InputConfig extends Enum<PiconZero.InputConfig>
Enum Constant and Description |
---|
ANALOG |
DIGITAL |
DIGITAL_PULL_UP |
DS18B20 |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PiconZero.InputConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiconZero.InputConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiconZero.InputConfig DIGITAL
public static final PiconZero.InputConfig DIGITAL_PULL_UP
public static final PiconZero.InputConfig ANALOG
public static final PiconZero.InputConfig DS18B20
public static PiconZero.InputConfig[] values()
for (PiconZero.InputConfig c : PiconZero.InputConfig.values()) System.out.println(c);
public static PiconZero.InputConfig 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.