Package com.pi4j.io.gpio
Enum RaspiPinNumberingScheme
- java.lang.Object
- 
- java.lang.Enum<RaspiPinNumberingScheme>
- 
- com.pi4j.io.gpio.RaspiPinNumberingScheme
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<RaspiPinNumberingScheme>
 
 public enum RaspiPinNumberingScheme extends Enum<RaspiPinNumberingScheme> Raspberry Pi pin numbering scheme.- Author:
- Robert Savage (http://www.savagehomeautomation.com)
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BROADCOM_PIN_NUMBERINGDEFAULT_PIN_NUMBERING
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static RaspiPinNumberingSchemevalueOf(String name)Returns the enum constant of this type with the specified name.static RaspiPinNumberingScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
DEFAULT_PIN_NUMBERINGpublic static final RaspiPinNumberingScheme DEFAULT_PIN_NUMBERING 
 - 
BROADCOM_PIN_NUMBERINGpublic static final RaspiPinNumberingScheme BROADCOM_PIN_NUMBERING 
 
- 
 - 
Method Detail- 
valuespublic static RaspiPinNumberingScheme[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RaspiPinNumberingScheme c : RaspiPinNumberingScheme.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static RaspiPinNumberingScheme valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-