public static enum ADS1015.Address extends Enum<ADS1015.Address>
Enum Constant and Description |
---|
ADDR_GND |
ADDR_SCL |
ADDR_VDD |
ARRD_SDA |
Modifier and Type | Method and Description |
---|---|
int |
getAddress() |
static ADS1015.Address |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ADS1015.Address[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ADS1015.Address ADDR_GND
public static final ADS1015.Address ADDR_VDD
public static final ADS1015.Address ARRD_SDA
public static final ADS1015.Address ADDR_SCL
public static ADS1015.Address[] values()
for (ADS1015.Address c : ADS1015.Address.values()) System.out.println(c);
public static ADS1015.Address 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 getAddress()
Copyright © 2016–2017 mattjlewis. All rights reserved.