Uses of Interface
com.pi4j.io.gpio.GpioPin
-
Packages that use GpioPin Package Description com.pi4j.io.gpio com.pi4j.io.gpio.event com.pi4j.io.gpio.impl com.pi4j.io.gpio.trigger -
-
Uses of GpioPin in com.pi4j.io.gpio
Subinterfaces of GpioPin in com.pi4j.io.gpio Modifier and Type Interface Description interface
GpioPinAnalog
Gpio analog pin interface.interface
GpioPinAnalogInput
Analog input pin inteface.interface
GpioPinAnalogOutput
Gpio analog output pin interface.interface
GpioPinDigital
Gpio digital pin interface.interface
GpioPinDigitalInput
This is a decorator interface to describe digital input pin.interface
GpioPinDigitalMultipurpose
Gpio digital pin interface.interface
GpioPinDigitalOutput
Gpio digital output pin interface.interface
GpioPinInput
Gpio input pin interface.interface
GpioPinOutput
Gpio pin output decorator interface.interface
GpioPinPwm
Gpio input pin interface.interface
GpioPinPwmOutput
Gpio output pwm pin interface.This interface adds operation to set output pwm value.Methods in com.pi4j.io.gpio that return GpioPin Modifier and Type Method Description GpioPin
GpioController. getProvisionedPin(Pin pin)
GpioPin
GpioController. getProvisionedPin(String name)
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)
Methods in com.pi4j.io.gpio that return types with arguments of type GpioPin Modifier and Type Method Description Collection<GpioPin>
GpioController. getProvisionedPins()
Methods in com.pi4j.io.gpio with parameters of type GpioPin Modifier and Type Method Description void
GpioController. export(PinMode mode, GpioPin... pin)
void
GpioController. export(PinMode mode, PinState defaultState, GpioPin... pin)
PinMode
GpioController. getMode(GpioPin pin)
PinPullResistance
GpioController. getPullResistance(GpioPin pin)
boolean
GpioController. isExported(GpioPin... pin)
boolean
GpioController. isMode(PinMode mode, GpioPin... pin)
boolean
GpioController. isPullResistance(PinPullResistance resistance, GpioPin... pin)
void
GpioController. setMode(PinMode mode, GpioPin... pin)
void
GpioController. setPullResistance(PinPullResistance resistance, GpioPin... pin)
void
GpioController. setShutdownOptions(GpioPinShutdown options, GpioPin... pin)
void
GpioController. setShutdownOptions(Boolean unexport, GpioPin... pin)
void
GpioController. setShutdownOptions(Boolean unexport, PinState state, GpioPin... pin)
void
GpioController. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, GpioPin... pin)
void
GpioController. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode, GpioPin... pin)
void
GpioController. unexport(GpioPin... pin)
Unexport a GPIO pin by GpioPin instance.void
GpioController. unprovisionPin(GpioPin... pin)
-
Uses of GpioPin in com.pi4j.io.gpio.event
Fields in com.pi4j.io.gpio.event declared as GpioPin Modifier and Type Field Description protected GpioPin
GpioPinEvent. pin
protected GpioPin
IFTTTMakerChannelTriggerEvent. pin
Methods in com.pi4j.io.gpio.event that return GpioPin Modifier and Type Method Description GpioPin
GpioPinEvent. getPin()
Get the pin number that changed and raised this event.GpioPin
IFTTTMakerChannelTriggerEvent. getPin()
Get the pin number that changed and raised this event.Constructors in com.pi4j.io.gpio.event with parameters of type GpioPin Constructor Description GpioPinAnalogValueChangeEvent(Object obj, GpioPin pin, double value)
Default event constructorGpioPinDigitalStateChangeEvent(Object obj, GpioPin pin, PinState state)
Default event constructorGpioPinEvent(Object obj, GpioPin pin, PinEventType type)
IFTTTMakerChannelTriggerEvent(Object obj, GpioPin pin, PinState state, String eventName, String value1, String value2, String value3)
-
Uses of GpioPin in com.pi4j.io.gpio.impl
Classes in com.pi4j.io.gpio.impl that implement GpioPin Modifier and Type Class Description class
GpioPinImpl
Methods in com.pi4j.io.gpio.impl that return GpioPin Modifier and Type Method Description GpioPin
GpioControllerImpl. getProvisionedPin(Pin pin)
GpioPin
GpioControllerImpl. getProvisionedPin(String name)
GpioPin
GpioControllerImpl. provisionPin(GpioProvider provider, Pin pin, PinMode mode)
GpioPin
GpioControllerImpl. provisionPin(GpioProvider provider, Pin pin, String name, PinMode mode)
GpioPin
GpioControllerImpl. provisionPin(GpioProvider provider, Pin pin, String name, PinMode mode, PinState defaultState)
GpioPin
GpioControllerImpl. provisionPin(Pin pin, PinMode mode)
GpioPin
GpioControllerImpl. provisionPin(Pin pin, String name, PinMode mode)
Methods in com.pi4j.io.gpio.impl that return types with arguments of type GpioPin Modifier and Type Method Description Collection<GpioPin>
GpioControllerImpl. getProvisionedPins()
Methods in com.pi4j.io.gpio.impl with parameters of type GpioPin Modifier and Type Method Description void
GpioControllerImpl. export(PinMode mode, GpioPin... pin)
void
GpioControllerImpl. export(PinMode mode, PinState defaultState, GpioPin... pin)
PinMode
GpioControllerImpl. getMode(GpioPin pin)
PinPullResistance
GpioControllerImpl. getPullResistance(GpioPin pin)
boolean
GpioControllerImpl. isExported(GpioPin... pin)
boolean
GpioControllerImpl. isMode(PinMode mode, GpioPin... pin)
boolean
GpioControllerImpl. isPullResistance(PinPullResistance resistance, GpioPin... pin)
void
GpioControllerImpl. setMode(PinMode mode, GpioPin... pin)
void
GpioControllerImpl. setPullResistance(PinPullResistance resistance, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(GpioPinShutdown options, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, PinState state, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, GpioPin... pin)
void
GpioControllerImpl. setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode, GpioPin... pin)
void
GpioControllerImpl. unexport(GpioPin... pin)
void
GpioControllerImpl. unprovisionPin(GpioPin... pin)
-
Uses of GpioPin in com.pi4j.io.gpio.trigger
Methods in com.pi4j.io.gpio.trigger with parameters of type GpioPin Modifier and Type Method Description void
GpioBlinkStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioBlinkStopStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioCallbackTrigger. invoke(GpioPin pin, PinState state)
void
GpioInverseSyncStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioPulseStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioSetStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioSyncStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioToggleStateTrigger. invoke(GpioPin pin, PinState state)
void
GpioTrigger. invoke(GpioPin pin, PinState state)
abstract void
GpioTriggerBase. invoke(GpioPin pin, PinState state)
void
IFTTTMakerChannelTrigger. invoke(GpioPin pin, PinState state)
Constructors in com.pi4j.io.gpio.trigger with parameters of type GpioPin Constructor Description GpioBlinkStopStateTrigger(GpioPin[] pins, PinState[] states, GpioPinDigitalOutput targetPin)
GpioBlinkStopStateTrigger(GpioPin pin, PinState[] states, GpioPinDigitalOutput targetPin)
GpioBlinkStopStateTrigger(GpioPin pin, PinState state, GpioPinDigitalOutput targetPin)
GpioBlinkStopStateTrigger(GpioPin pin, List<PinState> states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin[] pins, PinState[] states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin pin, PinState[] states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin pin, PinState state, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin pin, List<PinState> states, GpioPinDigitalOutput targetPin)
Constructor parameters in com.pi4j.io.gpio.trigger with type arguments of type GpioPin Constructor Description GpioBlinkStopStateTrigger(List<GpioPin> pins, List<PinState> states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(List<GpioPin> pins, List<PinState> states, GpioPinDigitalOutput targetPin)
-