Package | Description |
---|---|
com.pi4j.io.gpio | |
com.pi4j.io.gpio.event | |
com.pi4j.io.gpio.exception | |
com.pi4j.io.gpio.impl | |
com.pi4j.util |
Modifier and Type | Field and Description |
---|---|
static Pin |
OdroidC1Pin.AIN0 |
static Pin |
OdroidXU4Pin.AIN0 |
static Pin |
OdroidC1Pin.AIN1 |
static Pin |
OdroidXU4Pin.AIN3 |
static Pin |
OdroidC1Pin.GPIO_00 |
static Pin |
PiFacePin.GPIO_00 |
static Pin |
BananaProPin.GPIO_00 |
static Pin |
BananaPiPin.GPIO_00 |
static Pin |
OdroidXU4Pin.GPIO_00 |
static Pin |
RaspiPin.GPIO_00 |
static Pin |
RCMPin.GPIO_00 |
static Pin |
OdroidC1Pin.GPIO_01 |
static Pin |
PiFacePin.GPIO_01 |
static Pin |
BananaProPin.GPIO_01 |
static Pin |
BananaPiPin.GPIO_01 |
static Pin |
OdroidXU4Pin.GPIO_01 |
static Pin |
RaspiPin.GPIO_01 |
static Pin |
RCMPin.GPIO_01 |
static Pin |
OdroidC1Pin.GPIO_02 |
static Pin |
PiFacePin.GPIO_02 |
static Pin |
BananaProPin.GPIO_02 |
static Pin |
BananaPiPin.GPIO_02 |
static Pin |
OdroidXU4Pin.GPIO_02 |
static Pin |
RaspiPin.GPIO_02 |
static Pin |
RCMPin.GPIO_02 |
static Pin |
RaspiBcmPin.GPIO_02 |
static Pin |
OdroidC1Pin.GPIO_03 |
static Pin |
PiFacePin.GPIO_03 |
static Pin |
BananaProPin.GPIO_03 |
static Pin |
BananaPiPin.GPIO_03 |
static Pin |
OdroidXU4Pin.GPIO_03 |
static Pin |
RaspiPin.GPIO_03 |
static Pin |
RCMPin.GPIO_03 |
static Pin |
RaspiBcmPin.GPIO_03 |
static Pin |
OdroidC1Pin.GPIO_04 |
static Pin |
PiFacePin.GPIO_04 |
static Pin |
BananaProPin.GPIO_04 |
static Pin |
BananaPiPin.GPIO_04 |
static Pin |
OdroidXU4Pin.GPIO_04 |
static Pin |
RaspiPin.GPIO_04 |
static Pin |
RCMPin.GPIO_04 |
static Pin |
RaspiBcmPin.GPIO_04 |
static Pin |
OdroidC1Pin.GPIO_05 |
static Pin |
PiFacePin.GPIO_05 |
static Pin |
BananaProPin.GPIO_05 |
static Pin |
BananaPiPin.GPIO_05 |
static Pin |
OdroidXU4Pin.GPIO_05 |
static Pin |
RaspiPin.GPIO_05 |
static Pin |
RCMPin.GPIO_05 |
static Pin |
RaspiBcmPin.GPIO_05 |
static Pin |
OdroidC1Pin.GPIO_06 |
static Pin |
PiFacePin.GPIO_06 |
static Pin |
BananaProPin.GPIO_06 |
static Pin |
BananaPiPin.GPIO_06 |
static Pin |
OdroidXU4Pin.GPIO_06 |
static Pin |
RaspiPin.GPIO_06 |
static Pin |
RCMPin.GPIO_06 |
static Pin |
RaspiBcmPin.GPIO_06 |
static Pin |
OdroidC1Pin.GPIO_07 |
static Pin |
PiFacePin.GPIO_07 |
static Pin |
BananaProPin.GPIO_07 |
static Pin |
BananaPiPin.GPIO_07 |
static Pin |
OdroidXU4Pin.GPIO_07 |
static Pin |
RaspiPin.GPIO_07 |
static Pin |
RCMPin.GPIO_07 |
static Pin |
RaspiBcmPin.GPIO_07 |
static Pin |
PiFacePin.GPIO_08 |
static Pin |
BananaProPin.GPIO_08 |
static Pin |
BananaPiPin.GPIO_08 |
static Pin |
OdroidXU4Pin.GPIO_08 |
static Pin |
RaspiPin.GPIO_08 |
static Pin |
RCMPin.GPIO_08 |
static Pin |
RaspiBcmPin.GPIO_08 |
static Pin |
PiFacePin.GPIO_09 |
static Pin |
BananaProPin.GPIO_09 |
static Pin |
BananaPiPin.GPIO_09 |
static Pin |
OdroidXU4Pin.GPIO_09 |
static Pin |
RaspiPin.GPIO_09 |
static Pin |
RCMPin.GPIO_09 |
static Pin |
RaspiBcmPin.GPIO_09 |
static Pin |
OdroidC1Pin.GPIO_10 |
static Pin |
PiFacePin.GPIO_10 |
static Pin |
BananaProPin.GPIO_10 |
static Pin |
BananaPiPin.GPIO_10 |
static Pin |
OdroidXU4Pin.GPIO_10 |
static Pin |
RaspiPin.GPIO_10 |
static Pin |
RCMPin.GPIO_10 |
static Pin |
RaspiBcmPin.GPIO_10 |
static Pin |
OdroidC1Pin.GPIO_11 |
static Pin |
PiFacePin.GPIO_11 |
static Pin |
BananaProPin.GPIO_11 |
static Pin |
BananaPiPin.GPIO_11 |
static Pin |
OdroidXU4Pin.GPIO_11 |
static Pin |
RaspiPin.GPIO_11 |
static Pin |
RCMPin.GPIO_11 |
static Pin |
RaspiBcmPin.GPIO_11 |
static Pin |
OdroidC1Pin.GPIO_12 |
static Pin |
PiFacePin.GPIO_12 |
static Pin |
BananaProPin.GPIO_12 |
static Pin |
BananaPiPin.GPIO_12 |
static Pin |
OdroidXU4Pin.GPIO_12 |
static Pin |
RaspiPin.GPIO_12 |
static Pin |
RCMPin.GPIO_12 |
static Pin |
RaspiBcmPin.GPIO_12 |
static Pin |
OdroidC1Pin.GPIO_13 |
static Pin |
PiFacePin.GPIO_13 |
static Pin |
BananaProPin.GPIO_13 |
static Pin |
BananaPiPin.GPIO_13 |
static Pin |
OdroidXU4Pin.GPIO_13 |
static Pin |
RaspiPin.GPIO_13 |
static Pin |
RCMPin.GPIO_13 |
static Pin |
RaspiBcmPin.GPIO_13 |
static Pin |
OdroidC1Pin.GPIO_14 |
static Pin |
PiFacePin.GPIO_14 |
static Pin |
BananaProPin.GPIO_14 |
static Pin |
BananaPiPin.GPIO_14 |
static Pin |
OdroidXU4Pin.GPIO_14 |
static Pin |
RaspiPin.GPIO_14 |
static Pin |
RCMPin.GPIO_14 |
static Pin |
RaspiBcmPin.GPIO_14 |
static Pin |
PiFacePin.GPIO_15 |
static Pin |
BananaProPin.GPIO_15 |
static Pin |
BananaPiPin.GPIO_15 |
static Pin |
OdroidXU4Pin.GPIO_15 |
static Pin |
RaspiPin.GPIO_15 |
static Pin |
RCMPin.GPIO_15 |
static Pin |
RaspiBcmPin.GPIO_15 |
static Pin |
PiFacePin.GPIO_16 |
static Pin |
BananaProPin.GPIO_16 |
static Pin |
BananaPiPin.GPIO_16 |
static Pin |
OdroidXU4Pin.GPIO_16 |
static Pin |
RaspiPin.GPIO_16 |
static Pin |
RCMPin.GPIO_16 |
static Pin |
RaspiBcmPin.GPIO_16 |
static Pin |
PiFacePin.GPIO_17 |
static Pin |
BananaPiPin.GPIO_17 |
static Pin |
RaspiPin.GPIO_17 |
static Pin |
RCMPin.GPIO_17 |
static Pin |
RaspiBcmPin.GPIO_17 |
static Pin |
PiFacePin.GPIO_18 |
static Pin |
BananaPiPin.GPIO_18 |
static Pin |
RaspiPin.GPIO_18 |
static Pin |
RCMPin.GPIO_18 |
static Pin |
RaspiBcmPin.GPIO_18 |
static Pin |
PiFacePin.GPIO_19 |
static Pin |
BananaPiPin.GPIO_19 |
static Pin |
RaspiPin.GPIO_19 |
static Pin |
RCMPin.GPIO_19 |
static Pin |
RaspiBcmPin.GPIO_19 |
static Pin |
PiFacePin.GPIO_20 |
static Pin |
BananaPiPin.GPIO_20 |
static Pin |
RaspiPin.GPIO_20 |
static Pin |
RCMPin.GPIO_20 |
static Pin |
RaspiBcmPin.GPIO_20 |
static Pin |
OdroidC1Pin.GPIO_21 |
static Pin |
BananaProPin.GPIO_21 |
static Pin |
OdroidXU4Pin.GPIO_21 |
static Pin |
RaspiPin.GPIO_21 |
static Pin |
RCMPin.GPIO_21 |
static Pin |
RaspiBcmPin.GPIO_21 |
static Pin |
OdroidC1Pin.GPIO_22 |
static Pin |
BananaProPin.GPIO_22 |
static Pin |
OdroidXU4Pin.GPIO_22 |
static Pin |
RaspiPin.GPIO_22 |
static Pin |
RCMPin.GPIO_22 |
static Pin |
RaspiBcmPin.GPIO_22 |
static Pin |
OdroidC1Pin.GPIO_23 |
static Pin |
BananaProPin.GPIO_23 |
static Pin |
OdroidXU4Pin.GPIO_23 |
static Pin |
RaspiPin.GPIO_23 |
static Pin |
RCMPin.GPIO_23 |
static Pin |
RaspiBcmPin.GPIO_23 |
static Pin |
OdroidC1Pin.GPIO_24 |
static Pin |
BananaProPin.GPIO_24 |
static Pin |
RaspiPin.GPIO_24 |
static Pin |
RCMPin.GPIO_24 |
static Pin |
RaspiBcmPin.GPIO_24 |
static Pin |
BananaProPin.GPIO_25 |
static Pin |
RaspiPin.GPIO_25 |
static Pin |
RCMPin.GPIO_25 |
static Pin |
RaspiBcmPin.GPIO_25 |
static Pin |
OdroidC1Pin.GPIO_26 |
static Pin |
BananaProPin.GPIO_26 |
static Pin |
OdroidXU4Pin.GPIO_26 |
static Pin |
RaspiPin.GPIO_26 |
static Pin |
RCMPin.GPIO_26 |
static Pin |
RaspiBcmPin.GPIO_26 |
static Pin |
OdroidC1Pin.GPIO_27 |
static Pin |
BananaProPin.GPIO_27 |
static Pin |
OdroidXU4Pin.GPIO_27 |
static Pin |
RaspiPin.GPIO_27 |
static Pin |
RCMPin.GPIO_27 |
static Pin |
RaspiBcmPin.GPIO_27 |
static Pin |
BananaProPin.GPIO_28 |
static Pin |
RaspiPin.GPIO_28 |
static Pin |
RCMPin.GPIO_28 |
static Pin |
RaspiBcmPin.GPIO_28 |
static Pin |
BananaProPin.GPIO_29 |
static Pin |
RaspiPin.GPIO_29 |
static Pin |
RCMPin.GPIO_29 |
static Pin |
RaspiBcmPin.GPIO_29 |
static Pin |
OdroidXU4Pin.GPIO_30 |
static Pin |
RaspiPin.GPIO_30 |
static Pin |
RCMPin.GPIO_30 |
static Pin |
RaspiBcmPin.GPIO_30 |
static Pin |
BananaProPin.GPIO_31 |
static Pin |
OdroidXU4Pin.GPIO_31 |
static Pin |
RaspiPin.GPIO_31 |
static Pin |
RCMPin.GPIO_31 |
static Pin |
RaspiBcmPin.GPIO_31 |
static Pin |
RCMPin.GPIO_32 |
static Pin |
RCMPin.GPIO_33 |
static Pin |
RCMPin.GPIO_34 |
static Pin |
RCMPin.GPIO_35 |
static Pin |
RCMPin.GPIO_36 |
static Pin |
RCMPin.GPIO_37 |
static Pin |
RCMPin.GPIO_38 |
static Pin |
RCMPin.GPIO_39 |
static Pin |
RCMPin.GPIO_40 |
static Pin |
RCMPin.GPIO_41 |
static Pin |
RCMPin.GPIO_42 |
static Pin |
RCMPin.GPIO_43 |
static Pin |
RCMPin.GPIO_44 |
static Pin |
RCMPin.GPIO_45 |
Modifier and Type | Field and Description |
---|---|
protected Map<Pin,List<PinListener>> |
GpioProviderBase.listeners |
protected static Map<String,Pin> |
PinProvider.pins |
Modifier and Type | Method and Description |
---|---|
static Pin[] |
OdroidC1Pin.allPins() |
static Pin[] |
BananaProPin.allPins() |
static Pin[] |
BananaPiPin.allPins() |
static Pin[] |
OdroidXU4Pin.allPins() |
static Pin[] |
PinProvider.allPins()
Get all pin instances from this provider.
|
static Pin[] |
RaspiPin.allPins() |
static Pin[] |
RCMPin.allPins() |
static Pin[] |
RaspiBcmPin.allPins() |
static Pin[] |
OdroidC1Pin.allPins(PinMode... mode) |
static Pin[] |
BananaProPin.allPins(PinMode... mode) |
static Pin[] |
BananaPiPin.allPins(PinMode... mode) |
static Pin[] |
PinProvider.allPins(PinMode... mode)
Get all pin instances from this provider that support one of the provided pin modes.
|
static Pin[] |
RaspiPin.allPins(PinMode... mode) |
static Pin[] |
RaspiPin.allPins(SystemInfo.BoardType board) |
protected static Pin |
PinProvider.createAnalogInputPin(String providerName,
int address,
String name) |
protected static Pin |
OdroidC1Pin.createDigitalAndPwmPin(int address,
String name) |
protected static Pin |
BananaProPin.createDigitalAndPwmPin(int address,
String name) |
protected static Pin |
BananaPiPin.createDigitalAndPwmPin(int address,
String name) |
protected static Pin |
RaspiPin.createDigitalAndPwmPin(int address,
String name) |
protected static Pin |
RCMPin.createDigitalAndPwmPin(int address,
String name) |
protected static Pin |
RaspiBcmPin.createDigitalAndPwmPin(int address,
String name) |
protected static Pin |
PinProvider.createDigitalAndPwmPin(String providerName,
int address,
String name) |
protected static Pin |
PinProvider.createDigitalAndPwmPin(String providerName,
int address,
String name,
EnumSet<PinEdge> edges) |
protected static Pin |
BananaProPin.createDigitalAndPwmPinNoEdge(int address,
String name) |
protected static Pin |
BananaPiPin.createDigitalAndPwmPinNoEdge(int address,
String name) |
protected static Pin |
OdroidC1Pin.createDigitalPin(int address,
String name) |
protected static Pin |
BananaProPin.createDigitalPin(int address,
String name) |
protected static Pin |
BananaPiPin.createDigitalPin(int address,
String name) |
protected static Pin |
OdroidXU4Pin.createDigitalPin(int address,
String name) |
protected static Pin |
RaspiPin.createDigitalPin(int address,
String name) |
protected static Pin |
RCMPin.createDigitalPin(int address,
String name) |
protected static Pin |
RaspiBcmPin.createDigitalPin(int address,
String name) |
protected static Pin |
PinProvider.createDigitalPin(String providerName,
int address,
String name) |
protected static Pin |
PinProvider.createDigitalPin(String providerName,
int address,
String name,
EnumSet<PinEdge> edges) |
protected static Pin |
PinProvider.createDigitalPin(String providerName,
int address,
String name,
EnumSet<PinPullResistance> resistance,
EnumSet<PinEdge> edges) |
protected static Pin |
BananaProPin.createDigitalPinNoEdge(int address,
String name) |
protected static Pin |
BananaPiPin.createDigitalPinNoEdge(int address,
String name) |
protected static Pin |
BananaProPin.createDigitalPinNoEdge(int address,
String name,
EnumSet<PinPullResistance> resistance) |
protected static Pin |
BananaPiPin.createDigitalPinNoEdge(int address,
String name,
EnumSet<PinPullResistance> resistance) |
protected static Pin |
RaspiPin.createDigitalPinNoPullDown(int address,
String name) |
protected static Pin |
PinProvider.createPin(String providerName,
int address,
String name,
EnumSet<PinMode> modes) |
protected static Pin |
PinProvider.createPin(String providerName,
int address,
String name,
EnumSet<PinMode> modes,
EnumSet<PinPullResistance> resistance,
EnumSet<PinEdge> edges) |
Pin |
GpioPin.getPin() |
static Pin |
OdroidC1Pin.getPinByAddress(int address) |
static Pin |
BananaProPin.getPinByAddress(int address) |
static Pin |
BananaPiPin.getPinByAddress(int address) |
static Pin |
OdroidXU4Pin.getPinByAddress(int address) |
static Pin |
PinProvider.getPinByAddress(int address) |
static Pin |
RaspiPin.getPinByAddress(int address) |
static Pin |
RCMPin.getPinByAddress(int address) |
static Pin |
RaspiBcmPin.getPinByAddress(int address) |
static Pin |
OdroidC1Pin.getPinByName(String name) |
static Pin |
BananaProPin.getPinByName(String name) |
static Pin |
BananaPiPin.getPinByName(String name) |
static Pin |
OdroidXU4Pin.getPinByName(String name) |
static Pin |
PinProvider.getPinByName(String name) |
static Pin |
RaspiPin.getPinByName(String name) |
static Pin |
RCMPin.getPinByName(String name) |
static Pin |
RaspiBcmPin.getPinByName(String name) |
Modifier and Type | Method and Description |
---|---|
void |
GpioProvider.addListener(Pin pin,
PinListener listener) |
void |
GpioProviderBase.addListener(Pin pin,
PinListener listener) |
void |
WiringPiGpioProviderBase.addListener(Pin pin,
PinListener listener) |
protected void |
GpioProviderBase.dispatchPinAnalogValueChangeEvent(Pin pin,
double value) |
protected void |
GpioProviderBase.dispatchPinDigitalStateChangeEvent(Pin pin,
PinState state) |
void |
GpioProvider.export(Pin pin,
PinMode mode) |
void |
GpioProviderBase.export(Pin pin,
PinMode mode) |
void |
WiringPiGpioProviderBase.export(Pin pin,
PinMode mode) |
void |
GpioProvider.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
GpioProviderBase.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
OdroidGpioProvider.export(Pin pin,
PinMode mode,
PinState defaultState) |
void |
WiringPiGpioProviderBase.export(Pin pin,
PinMode mode,
PinState defaultState) |
PinMode |
GpioProvider.getMode(Pin pin) |
PinMode |
GpioProviderBase.getMode(Pin pin) |
PinMode |
WiringPiGpioProviderBase.getMode(Pin pin) |
protected GpioProviderPinCache |
GpioProviderBase.getPinCache(Pin pin) |
GpioPin |
GpioController.getProvisionedPin(Pin pin) |
PinPullResistance |
GpioProvider.getPullResistance(Pin pin) |
PinPullResistance |
GpioProviderBase.getPullResistance(Pin pin) |
int |
GpioProvider.getPwm(Pin pin) |
int |
GpioProviderBase.getPwm(Pin pin) |
int |
WiringPiGpioProviderBase.getPwm(Pin pin) |
PinState |
GpioProvider.getState(Pin pin) |
PinState |
GpioProviderBase.getState(Pin pin) |
PinState |
WiringPiGpioProviderBase.getState(Pin pin) |
double |
GpioProvider.getValue(Pin pin) |
double |
GpioProviderBase.getValue(Pin pin) |
double |
OdroidGpioProvider.getValue(Pin pin) |
double |
WiringPiGpioProviderBase.getValue(Pin pin) |
boolean |
GpioProvider.hasPin(Pin pin) |
boolean |
GpioProviderBase.hasPin(Pin pin) |
boolean |
WiringPiGpioProviderBase.hasPin(Pin pin) |
boolean |
GpioProvider.isExported(Pin pin) |
boolean |
GpioProviderBase.isExported(Pin pin) |
boolean |
OdroidGpioProvider.isExported(Pin pin) |
boolean |
WiringPiGpioProviderBase.isExported(Pin pin) |
GpioPinAnalogInput |
GpioController.provisionAnalogInputPin(GpioProvider provider,
Pin pin) |
GpioPinAnalogInput |
GpioController.provisionAnalogInputPin(GpioProvider provider,
Pin pin,
String name) |
GpioPinAnalogInput |
GpioController.provisionAnalogInputPin(Pin pin) |
GpioPinAnalogInput |
GpioController.provisionAnalogInputPin(Pin pin,
String name) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(GpioProvider provider,
Pin pin) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(GpioProvider provider,
Pin pin,
double defaultValue) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(GpioProvider provider,
Pin pin,
String name) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(GpioProvider provider,
Pin pin,
String name,
double defaultValue) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(Pin pin) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(Pin pin,
double defaultValue) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(Pin pin,
String name) |
GpioPinAnalogOutput |
GpioController.provisionAnalogOutputPin(Pin pin,
String name,
double defaultValue) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(GpioProvider provider,
Pin pin) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(GpioProvider provider,
Pin pin,
PinPullResistance resistance) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(GpioProvider provider,
Pin pin,
String name) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(GpioProvider provider,
Pin pin,
String name,
PinPullResistance resistance) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(Pin pin) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(Pin pin,
PinPullResistance resistance) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(Pin pin,
String name) |
GpioPinDigitalInput |
GpioController.provisionDigitalInputPin(Pin pin,
String name,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
String name,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
String name,
PinMode mode) |
GpioPinDigitalMultipurpose |
GpioController.provisionDigitalMultipurposePin(Pin pin,
String name,
PinMode mode,
PinPullResistance resistance) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(GpioProvider provider,
Pin pin) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
PinState defaultState) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
String name) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(GpioProvider provider,
Pin pin,
String name,
PinState defaultState) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(Pin pin) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(Pin pin,
PinState defaultState) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(Pin pin,
String name) |
GpioPinDigitalOutput |
GpioController.provisionDigitalOutputPin(Pin pin,
String name,
PinState defaultState) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
PinMode mode) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode) |
GpioPin |
GpioController.provisionPin(GpioProvider provider,
Pin pin,
String name,
PinMode mode,
PinState defaultState) |
GpioPin |
GpioController.provisionPin(Pin pin,
PinMode mode) |
GpioPin |
GpioController.provisionPin(Pin pin,
String name,
PinMode mode) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(GpioProvider provider,
Pin pin) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(GpioProvider provider,
Pin pin,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(GpioProvider provider,
Pin pin,
String name) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(GpioProvider provider,
Pin pin,
String name,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(Pin pin) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(Pin pin,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(Pin pin,
String name) |
GpioPinPwmOutput |
GpioController.provisionPwmOutputPin(Pin pin,
String name,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(GpioProvider provider,
Pin pin) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(GpioProvider provider,
Pin pin,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(GpioProvider provider,
Pin pin,
String name) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(GpioProvider provider,
Pin pin,
String name,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(Pin pin) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(Pin pin,
int defaultValue) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(Pin pin,
String name) |
GpioPinPwmOutput |
GpioController.provisionSoftPwmOutputPin(Pin pin,
String name,
int defaultValue) |
void |
GpioProvider.removeListener(Pin pin,
PinListener listener) |
void |
GpioProviderBase.removeListener(Pin pin,
PinListener listener) |
void |
WiringPiGpioProviderBase.removeListener(Pin pin,
PinListener listener) |
void |
GpioProvider.setMode(Pin pin,
PinMode mode) |
void |
GpioProviderBase.setMode(Pin pin,
PinMode mode) |
void |
OdroidGpioProvider.setMode(Pin pin,
PinMode mode) |
void |
WiringPiGpioProviderBase.setMode(Pin pin,
PinMode mode) |
void |
GpioProvider.setPullResistance(Pin pin,
PinPullResistance resistance) |
void |
GpioProviderBase.setPullResistance(Pin pin,
PinPullResistance resistance) |
void |
WiringPiGpioProviderBase.setPullResistance(Pin pin,
PinPullResistance resistance) |
void |
GpioProvider.setPwm(Pin pin,
int value) |
void |
GpioProviderBase.setPwm(Pin pin,
int value) |
void |
WiringPiGpioProviderBase.setPwm(Pin pin,
int value) |
void |
GpioProvider.setPwmRange(Pin pin,
int range) |
void |
GpioProviderBase.setPwmRange(Pin pin,
int range) |
void |
WiringPiGpioProviderBase.setPwmRange(Pin pin,
int range) |
void |
GpioProvider.setState(Pin pin,
PinState state) |
void |
GpioProviderBase.setState(Pin pin,
PinState state) |
void |
WiringPiGpioProviderBase.setState(Pin pin,
PinState state) |
void |
GpioProvider.setValue(Pin pin,
double value) |
void |
GpioProviderBase.setValue(Pin pin,
double value) |
void |
WiringPiGpioProviderBase.setValue(Pin pin,
double value) |
void |
GpioController.unexport(Pin... pin)
Unexport a GPIO pin by Pin instance.
|
void |
GpioProvider.unexport(Pin pin) |
void |
GpioProviderBase.unexport(Pin pin) |
void |
OdroidGpioProvider.unexport(Pin pin) |
void |
WiringPiGpioProviderBase.unexport(Pin pin) |
protected void |
OdroidGpioProvider.updateInterruptListener(Pin pin) |
protected void |
WiringPiGpioProviderBase.updateInterruptListener(Pin pin) |
Constructor and Description |
---|
GpioProviderPinCache(Pin pin) |
Modifier and Type | Field and Description |
---|---|
protected Pin |
PinEvent.pin |
Modifier and Type | Method and Description |
---|---|
Pin |
PinEvent.getPin()
Get the pin number that changed and raised this event.
|
Constructor and Description |
---|
PinAnalogValueChangeEvent(Object obj,
Pin pin,
double value)
Default event constructor
|
PinDigitalStateChangeEvent(Object obj,
Pin pin,
PinState state)
Default event constructor
|
PinEvent(Object obj,
Pin pin,
PinEventType type)
Default event constructor
|
Modifier and Type | Method and Description |
---|---|
Pin |
InvalidPinException.getPin() |
Pin |
UnsupportedPinPullResistanceException.getPin() |
Pin |
PinProviderException.getPin() |
Pin |
UnsupportedPinModeException.getPin() |
Pin |
UnsupportedPinEventsException.getPin() |
Pin |
InvalidPinModeException.getPin() |
Pin |
GpioPinNotProvisionedException.getPin() |
Pin |
GpioPinExistsException.getPin() |
Constructor and Description |
---|
GpioPinExistsException(Pin pin) |
GpioPinNotProvisionedException(Pin pin) |
InvalidPinException(Pin pin) |
InvalidPinModeException(Pin pin,
String message) |
PinProviderException(GpioProvider provider,
Pin pin) |
UnsupportedPinEventsException(Pin pin) |
UnsupportedPinModeException(Pin pin,
PinMode mode) |
UnsupportedPinPullResistanceException(Pin pin,
PinPullResistance resistance) |
Modifier and Type | Class and Description |
---|---|
class |
PinImpl |
Modifier and Type | Method and Description |
---|---|
Pin |
GpioPinImpl.getPin() |
Constructor and Description |
---|
GpioPinImpl(GpioController gpio,
GpioProvider provider,
Pin pin) |
Modifier and Type | Method and Description |
---|---|
static Pin |
CommandArgumentParser.getPin(Class<? extends PinProvider> pinProviderClass,
Pin defaultPin,
String... args)
This utility method searches for "--pin (#)" or "-p (#)" in the command
arguments array and returns a Pin instance based on the pin
address/number specified.
|
Modifier and Type | Method and Description |
---|---|
static Pin |
CommandArgumentParser.getPin(Class<? extends PinProvider> pinProviderClass,
Pin defaultPin,
String... args)
This utility method searches for "--pin (#)" or "-p (#)" in the command
arguments array and returns a Pin instance based on the pin
address/number specified.
|
Copyright © 2012–2019 Pi4J. All rights reserved.