Uses of Interface
com.pi4j.io.gpio.Pin
-
Packages that use Pin Package Description com.pi4j.io.gpio com.pi4j.io.gpio.event com.pi4j.io.gpio.exception com.pi4j.io.gpio.impl com.pi4j.util -
-
Uses of Pin in com.pi4j.io.gpio
Fields in com.pi4j.io.gpio declared as Pin Modifier and Type Field Description static Pin
RaspiPin. GPIO_00
static Pin
RCMPin. GPIO_00
static Pin
RaspiPin. GPIO_01
static Pin
RCMPin. GPIO_01
static Pin
RaspiBcmPin. GPIO_02
static Pin
RaspiPin. GPIO_02
static Pin
RCMPin. GPIO_02
static Pin
RaspiBcmPin. GPIO_03
static Pin
RaspiPin. GPIO_03
static Pin
RCMPin. GPIO_03
static Pin
RaspiBcmPin. GPIO_04
static Pin
RaspiPin. GPIO_04
static Pin
RCMPin. GPIO_04
static Pin
RaspiBcmPin. GPIO_05
static Pin
RaspiPin. GPIO_05
static Pin
RCMPin. GPIO_05
static Pin
RaspiBcmPin. GPIO_06
static Pin
RaspiPin. GPIO_06
static Pin
RCMPin. GPIO_06
static Pin
RaspiBcmPin. GPIO_07
static Pin
RaspiPin. GPIO_07
static Pin
RCMPin. GPIO_07
static Pin
RaspiBcmPin. GPIO_08
static Pin
RaspiPin. GPIO_08
static Pin
RCMPin. GPIO_08
static Pin
RaspiBcmPin. GPIO_09
static Pin
RaspiPin. GPIO_09
static Pin
RCMPin. GPIO_09
static Pin
RaspiBcmPin. GPIO_10
static Pin
RaspiPin. GPIO_10
static Pin
RCMPin. GPIO_10
static Pin
RaspiBcmPin. GPIO_11
static Pin
RaspiPin. GPIO_11
static Pin
RCMPin. GPIO_11
static Pin
RaspiBcmPin. GPIO_12
static Pin
RaspiPin. GPIO_12
static Pin
RCMPin. GPIO_12
static Pin
RaspiBcmPin. GPIO_13
static Pin
RaspiPin. GPIO_13
static Pin
RCMPin. GPIO_13
static Pin
RaspiBcmPin. GPIO_14
static Pin
RaspiPin. GPIO_14
static Pin
RCMPin. GPIO_14
static Pin
RaspiBcmPin. GPIO_15
static Pin
RaspiPin. GPIO_15
static Pin
RCMPin. GPIO_15
static Pin
RaspiBcmPin. GPIO_16
static Pin
RaspiPin. GPIO_16
static Pin
RCMPin. GPIO_16
static Pin
RaspiBcmPin. GPIO_17
static Pin
RaspiPin. GPIO_17
static Pin
RCMPin. GPIO_17
static Pin
RaspiBcmPin. GPIO_18
static Pin
RaspiPin. GPIO_18
static Pin
RCMPin. GPIO_18
static Pin
RaspiBcmPin. GPIO_19
static Pin
RaspiPin. GPIO_19
static Pin
RCMPin. GPIO_19
static Pin
RaspiBcmPin. GPIO_20
static Pin
RaspiPin. GPIO_20
static Pin
RCMPin. GPIO_20
static Pin
RaspiBcmPin. GPIO_21
static Pin
RaspiPin. GPIO_21
static Pin
RCMPin. GPIO_21
static Pin
RaspiBcmPin. GPIO_22
static Pin
RaspiPin. GPIO_22
static Pin
RCMPin. GPIO_22
static Pin
RaspiBcmPin. GPIO_23
static Pin
RaspiPin. GPIO_23
static Pin
RCMPin. GPIO_23
static Pin
RaspiBcmPin. GPIO_24
static Pin
RaspiPin. GPIO_24
static Pin
RCMPin. GPIO_24
static Pin
RaspiBcmPin. GPIO_25
static Pin
RaspiPin. GPIO_25
static Pin
RCMPin. GPIO_25
static Pin
RaspiBcmPin. GPIO_26
static Pin
RaspiPin. GPIO_26
static Pin
RCMPin. GPIO_26
static Pin
RaspiBcmPin. GPIO_27
static Pin
RaspiPin. GPIO_27
static Pin
RCMPin. GPIO_27
static Pin
RaspiBcmPin. GPIO_28
static Pin
RaspiPin. GPIO_28
static Pin
RCMPin. GPIO_28
static Pin
RaspiBcmPin. GPIO_29
static Pin
RaspiPin. GPIO_29
static Pin
RCMPin. GPIO_29
static Pin
RaspiBcmPin. GPIO_30
static Pin
RaspiPin. GPIO_30
static Pin
RCMPin. GPIO_30
static Pin
RaspiBcmPin. GPIO_31
static Pin
RaspiPin. GPIO_31
static Pin
RCMPin. 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
Fields in com.pi4j.io.gpio with type parameters of type Pin Modifier and Type Field Description protected Map<Pin,List<PinListener>>
GpioProviderBase. listeners
protected static Map<String,Pin>
PinProvider. pins
Methods in com.pi4j.io.gpio that return Pin Modifier and Type Method Description static Pin[]
PinProvider. allPins()
Get all pin instances from this provider.static Pin[]
PinProvider. allPins(PinMode... mode)
Get all pin instances from this provider that support one of the provided pin modes.static Pin[]
RaspiBcmPin. allPins()
static Pin[]
RaspiPin. allPins()
static Pin[]
RaspiPin. allPins(PinMode... mode)
static Pin[]
RaspiPin. allPins(SystemInfo.BoardType board)
static Pin[]
RCMPin. allPins()
protected static Pin
PinProvider. createAnalogInputPin(String providerName, 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
RaspiBcmPin. 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
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
RaspiBcmPin. 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
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
PinProvider. getPinByAddress(int address)
static Pin
RaspiBcmPin. getPinByAddress(int address)
static Pin
RaspiPin. getPinByAddress(int address)
static Pin
RCMPin. getPinByAddress(int address)
static Pin
PinProvider. getPinByName(String name)
static Pin
RaspiBcmPin. getPinByName(String name)
static Pin
RaspiPin. getPinByName(String name)
static Pin
RCMPin. getPinByName(String name)
Methods in com.pi4j.io.gpio with parameters of type Pin Modifier and Type Method 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
GpioProvider. export(Pin pin, PinMode mode, PinState defaultState)
void
GpioProviderBase. export(Pin pin, PinMode mode)
void
GpioProviderBase. export(Pin pin, PinMode mode, PinState defaultState)
void
WiringPiGpioProviderBase. export(Pin pin, PinMode mode)
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
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
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
SimulatedGpioProvider. setAnalogValue(Pin pin, double value)
void
GpioProvider. setMode(Pin pin, PinMode mode)
void
GpioProviderBase. 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
SimulatedGpioProvider. 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
WiringPiGpioProviderBase. unexport(Pin pin)
protected void
WiringPiGpioProviderBase. updateInterruptListener(Pin pin)
Constructors in com.pi4j.io.gpio with parameters of type Pin Constructor Description GpioProviderPinCache(Pin pin)
-
Uses of Pin in com.pi4j.io.gpio.event
Fields in com.pi4j.io.gpio.event declared as Pin Modifier and Type Field Description protected Pin
PinEvent. pin
Methods in com.pi4j.io.gpio.event that return Pin Modifier and Type Method Description Pin
PinEvent. getPin()
Get the pin number that changed and raised this event.Constructors in com.pi4j.io.gpio.event with parameters of type Pin Constructor Description PinAnalogValueChangeEvent(Object obj, Pin pin, double value)
Default event constructorPinDigitalStateChangeEvent(Object obj, Pin pin, PinState state)
Default event constructorPinEvent(Object obj, Pin pin, PinEventType type)
Default event constructor -
Uses of Pin in com.pi4j.io.gpio.exception
Methods in com.pi4j.io.gpio.exception that return Pin Modifier and Type Method Description Pin
GpioPinExistsException. getPin()
Pin
GpioPinNotProvisionedException. getPin()
Pin
InvalidPinException. getPin()
Pin
InvalidPinModeException. getPin()
Pin
PinProviderException. getPin()
Pin
UnsupportedPinEventsException. getPin()
Pin
UnsupportedPinModeException. getPin()
Pin
UnsupportedPinPullResistanceException. getPin()
Constructors in com.pi4j.io.gpio.exception with parameters of type Pin Constructor 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)
-
Uses of Pin in com.pi4j.io.gpio.impl
Classes in com.pi4j.io.gpio.impl that implement Pin Modifier and Type Class Description class
PinImpl
Methods in com.pi4j.io.gpio.impl that return Pin Modifier and Type Method Description Pin
GpioPinImpl. getPin()
Constructors in com.pi4j.io.gpio.impl with parameters of type Pin Constructor Description GpioPinImpl(GpioController gpio, GpioProvider provider, Pin pin)
-
Uses of Pin in com.pi4j.util
Methods in com.pi4j.util that return Pin Modifier and Type Method 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.Methods in com.pi4j.util with parameters of type Pin Modifier and Type Method 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.
-