Package com.pi4j.io.gpio
Class RaspiPin
- java.lang.Object
-
- com.pi4j.io.gpio.PinProvider
-
- com.pi4j.io.gpio.RaspiPin
-
public class RaspiPin extends PinProvider
Raspberry Pi pin definitions for (default) WiringPi pin numbering scheme. This pin provider should be used for Raspberry Pi models: - RaspberryPi A, A+ - RaspberryPi B, B+ - RaspberryPi 2B, - RaspberryPi 3A+ - RaspberryPi 3B, 3B+ - RaspberryPi Zero, Zero-W - RaspberryPi 4B, - RaspberryPi 400, - RaspberryPi ComputeModule4- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Field Summary
Fields Modifier and Type Field Description static Pin
GPIO_00
static Pin
GPIO_01
static Pin
GPIO_02
static Pin
GPIO_03
static Pin
GPIO_04
static Pin
GPIO_05
static Pin
GPIO_06
static Pin
GPIO_07
static Pin
GPIO_08
static Pin
GPIO_09
static Pin
GPIO_10
static Pin
GPIO_11
static Pin
GPIO_12
static Pin
GPIO_13
static Pin
GPIO_14
static Pin
GPIO_15
static Pin
GPIO_16
static Pin
GPIO_17
static Pin
GPIO_18
static Pin
GPIO_19
static Pin
GPIO_20
static Pin
GPIO_21
static Pin
GPIO_22
static Pin
GPIO_23
static Pin
GPIO_24
static Pin
GPIO_25
static Pin
GPIO_26
static Pin
GPIO_27
static Pin
GPIO_28
static Pin
GPIO_29
static Pin
GPIO_30
static Pin
GPIO_31
-
Fields inherited from class com.pi4j.io.gpio.PinProvider
pins
-
-
Constructor Summary
Constructors Constructor Description RaspiPin()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pin[]
allPins()
static Pin[]
allPins(PinMode... mode)
static Pin[]
allPins(SystemInfo.BoardType board)
protected static Pin
createDigitalAndPwmPin(int address, String name)
protected static Pin
createDigitalPin(int address, String name)
protected static Pin
createDigitalPinNoPullDown(int address, String name)
static Pin
getPinByAddress(int address)
static Pin
getPinByName(String name)
-
Methods inherited from class com.pi4j.io.gpio.PinProvider
createAnalogInputPin, createDigitalAndPwmPin, createDigitalAndPwmPin, createDigitalPin, createDigitalPin, createDigitalPin, createPin, createPin
-
-
-
-
Field Detail
-
GPIO_00
public static final Pin GPIO_00
-
GPIO_01
public static final Pin GPIO_01
-
GPIO_02
public static final Pin GPIO_02
-
GPIO_03
public static final Pin GPIO_03
-
GPIO_04
public static final Pin GPIO_04
-
GPIO_05
public static final Pin GPIO_05
-
GPIO_06
public static final Pin GPIO_06
-
GPIO_07
public static final Pin GPIO_07
-
GPIO_08
public static final Pin GPIO_08
-
GPIO_09
public static final Pin GPIO_09
-
GPIO_10
public static final Pin GPIO_10
-
GPIO_11
public static final Pin GPIO_11
-
GPIO_12
public static final Pin GPIO_12
-
GPIO_13
public static final Pin GPIO_13
-
GPIO_14
public static final Pin GPIO_14
-
GPIO_15
public static final Pin GPIO_15
-
GPIO_16
public static final Pin GPIO_16
-
GPIO_17
public static final Pin GPIO_17
-
GPIO_18
public static final Pin GPIO_18
-
GPIO_19
public static final Pin GPIO_19
-
GPIO_20
public static final Pin GPIO_20
-
GPIO_21
public static final Pin GPIO_21
-
GPIO_22
public static final Pin GPIO_22
-
GPIO_23
public static final Pin GPIO_23
-
GPIO_24
public static final Pin GPIO_24
-
GPIO_25
public static final Pin GPIO_25
-
GPIO_26
public static final Pin GPIO_26
-
GPIO_27
public static final Pin GPIO_27
-
GPIO_28
public static final Pin GPIO_28
-
GPIO_29
public static final Pin GPIO_29
-
GPIO_30
public static final Pin GPIO_30
-
GPIO_31
public static final Pin GPIO_31
-
-