public enum MicrochipPotentiometerChannel extends Enum<MicrochipPotentiometerChannel>
MicrochipPotentiometerBase
Enum Constant and Description |
---|
A
Pins P0A, P0W, P0B
|
B
Pins P1A, P1W, P1B
|
C
Pins P2A, P2W, P2B
|
D
Pins P3A, P3W, P3B
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static MicrochipPotentiometerChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MicrochipPotentiometerChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MicrochipPotentiometerChannel A
public static final MicrochipPotentiometerChannel B
public static final MicrochipPotentiometerChannel C
public static final MicrochipPotentiometerChannel D
public static MicrochipPotentiometerChannel[] values()
for (MicrochipPotentiometerChannel c : MicrochipPotentiometerChannel.values()) System.out.println(c);
public static MicrochipPotentiometerChannel 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 String toString()
toString
in class Enum<MicrochipPotentiometerChannel>
Copyright © 2012–2016 Pi4J. All rights reserved.