Package com.pi4j.io.gpio
Class RCMPin
- java.lang.Object
-
- com.pi4j.io.gpio.PinProvider
-
- com.pi4j.io.gpio.RCMPin
-
public class RCMPin extends PinProvider
Raspberry Pi Compute Module pin definitions. This pin provider should be used for Raspberry Pi models: - RaspberryPi CM - RaspberryPi CM3 - RaspberryPi CM3 Lite - RaspberryPi CM3+ NOTE: Unlike the older models, the Raspberry Pi CM4 only exposes 28 GPIO pins which correspond to the GPIO pins on the Raspberry Pi 4. Thus for the CM4 you should not use the RCMPin pin provider, but rather use the traditional 'RaspiPin' pin provider just like you would for a RPi 4B.- Author:
- Robert Savage (http://www.savagehomeautomation.com) For PWM pin definitions see: http://elinux.org/RPi_BCM2835_GPIOs
-
-
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
static Pin
GPIO_32
static Pin
GPIO_33
static Pin
GPIO_34
static Pin
GPIO_35
static Pin
GPIO_36
static Pin
GPIO_37
static Pin
GPIO_38
static Pin
GPIO_39
static Pin
GPIO_40
static Pin
GPIO_41
static Pin
GPIO_42
static Pin
GPIO_43
static Pin
GPIO_44
static Pin
GPIO_45
-
Fields inherited from class com.pi4j.io.gpio.PinProvider
pins
-
-
Constructor Summary
Constructors Constructor Description RCMPin()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pin[]
allPins()
protected static Pin
createDigitalAndPwmPin(int address, String name)
protected static Pin
createDigitalPin(int address, String name)
static Pin
getPinByAddress(int address)
static Pin
getPinByName(String name)
-
Methods inherited from class com.pi4j.io.gpio.PinProvider
allPins, 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
-
GPIO_32
public static final Pin GPIO_32
-
GPIO_33
public static final Pin GPIO_33
-
GPIO_34
public static final Pin GPIO_34
-
GPIO_35
public static final Pin GPIO_35
-
GPIO_36
public static final Pin GPIO_36
-
GPIO_37
public static final Pin GPIO_37
-
GPIO_38
public static final Pin GPIO_38
-
GPIO_39
public static final Pin GPIO_39
-
GPIO_40
public static final Pin GPIO_40
-
GPIO_41
public static final Pin GPIO_41
-
GPIO_42
public static final Pin GPIO_42
-
GPIO_43
public static final Pin GPIO_43
-
GPIO_44
public static final Pin GPIO_44
-
GPIO_45
public static final Pin GPIO_45
-
-