Package jmri.jmrix.pi.simulator
Class GpioSimulator
- java.lang.Object
-
- jmri.jmrix.pi.simulator.GpioSimulator
-
- All Implemented Interfaces:
com.pi4j.io.gpio.GpioController
public class GpioSimulator extends java.lang.Object implements com.pi4j.io.gpio.GpioController
Simulate Raspberry Pi GPIO
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(com.pi4j.io.gpio.event.GpioPinListener[] gls, com.pi4j.io.gpio.GpioPinInput... gpis)
void
addListener(com.pi4j.io.gpio.event.GpioPinListener gl, com.pi4j.io.gpio.GpioPinInput... gpis)
void
addTrigger(com.pi4j.io.gpio.trigger.GpioTrigger[] gts, com.pi4j.io.gpio.GpioPinInput... gpis)
void
addTrigger(com.pi4j.io.gpio.trigger.GpioTrigger gt, com.pi4j.io.gpio.GpioPinInput... gpis)
void
export(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
void
export(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPin... gps)
static GpioSimulator
getInstance()
com.pi4j.io.gpio.PinMode
getMode(com.pi4j.io.gpio.GpioPin gp)
com.pi4j.io.gpio.GpioPin
getProvisionedPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPin
getProvisionedPin(java.lang.String string)
java.util.Collection<com.pi4j.io.gpio.GpioPin>
getProvisionedPins()
com.pi4j.io.gpio.PinPullResistance
getPullResistance(com.pi4j.io.gpio.GpioPin gp)
com.pi4j.io.gpio.PinState
getState(com.pi4j.io.gpio.GpioPinDigital gpd)
double
getValue(com.pi4j.io.gpio.GpioPinAnalog gpa)
void
high(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
boolean
isExported(com.pi4j.io.gpio.GpioPin... gps)
boolean
isHigh(com.pi4j.io.gpio.GpioPinDigital... gpds)
boolean
isLow(com.pi4j.io.gpio.GpioPinDigital... gpds)
boolean
isMode(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
boolean
isPullResistance(com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.GpioPin... gps)
boolean
isShutdown()
boolean
isState(com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPinDigital... gpds)
void
low(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
com.pi4j.io.gpio.GpioPinAnalogInput
provisionAnalogInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinAnalogInput
provisionAnalogInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinAnalogInput
provisionAnalogInputPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinAnalogInput
provisionAnalogInputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, double d)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, double d)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin, double d)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinAnalogOutput
provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, double d)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinDigitalInput
provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPinDigitalMultipurpose
provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinState ps)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinState ps)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinState ps)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinDigitalOutput
provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinState ps)
com.pi4j.io.gpio.GpioPin
provisionPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPin
provisionPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPin
provisionPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinState ps)
com.pi4j.io.gpio.GpioPin
provisionPin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPin
provisionPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin, int i)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
com.pi4j.io.gpio.GpioPinPwmOutput
provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
void
pulse(long l, com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
void
removeAllListeners()
void
removeAllTriggers()
void
removeListener(com.pi4j.io.gpio.event.GpioPinListener[] gls, com.pi4j.io.gpio.GpioPinInput... gpis)
void
removeListener(com.pi4j.io.gpio.event.GpioPinListener gl, com.pi4j.io.gpio.GpioPinInput... gpis)
void
removeTrigger(com.pi4j.io.gpio.trigger.GpioTrigger[] gts, com.pi4j.io.gpio.GpioPinInput... gpis)
void
removeTrigger(com.pi4j.io.gpio.trigger.GpioTrigger gt, com.pi4j.io.gpio.GpioPinInput... gpis)
void
setMode(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
void
setPullResistance(com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.GpioPin... gps)
void
setShutdownOptions(com.pi4j.io.gpio.GpioPinShutdown gps, com.pi4j.io.gpio.GpioPin... gps1)
void
setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.GpioPin... gps)
void
setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPin... gps)
void
setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.GpioPin... gps)
void
setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
void
setState(boolean bln, com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
void
setState(com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
void
setValue(double d, com.pi4j.io.gpio.GpioPinAnalogOutput... gpaos)
void
shutdown()
void
toggle(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
void
unexport(com.pi4j.io.gpio.GpioPin... gps)
void
unexport(com.pi4j.io.gpio.Pin... pins)
void
unexportAll()
void
unprovisionPin(com.pi4j.io.gpio.GpioPin... gps)
-
-
-
Method Detail
-
getInstance
public static GpioSimulator getInstance()
-
export
public void export(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
export
in interfacecom.pi4j.io.gpio.GpioController
-
export
public void export(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
export
in interfacecom.pi4j.io.gpio.GpioController
-
isExported
public boolean isExported(com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
isExported
in interfacecom.pi4j.io.gpio.GpioController
-
unexport
public void unexport(com.pi4j.io.gpio.Pin... pins)
- Specified by:
unexport
in interfacecom.pi4j.io.gpio.GpioController
-
unexport
public void unexport(com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
unexport
in interfacecom.pi4j.io.gpio.GpioController
-
unexportAll
public void unexportAll()
- Specified by:
unexportAll
in interfacecom.pi4j.io.gpio.GpioController
-
setMode
public void setMode(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
setMode
in interfacecom.pi4j.io.gpio.GpioController
-
getMode
public com.pi4j.io.gpio.PinMode getMode(com.pi4j.io.gpio.GpioPin gp)
- Specified by:
getMode
in interfacecom.pi4j.io.gpio.GpioController
-
isMode
public boolean isMode(com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
isMode
in interfacecom.pi4j.io.gpio.GpioController
-
setPullResistance
public void setPullResistance(com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
setPullResistance
in interfacecom.pi4j.io.gpio.GpioController
-
getPullResistance
public com.pi4j.io.gpio.PinPullResistance getPullResistance(com.pi4j.io.gpio.GpioPin gp)
- Specified by:
getPullResistance
in interfacecom.pi4j.io.gpio.GpioController
-
isPullResistance
public boolean isPullResistance(com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
isPullResistance
in interfacecom.pi4j.io.gpio.GpioController
-
high
public void high(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
- Specified by:
high
in interfacecom.pi4j.io.gpio.GpioController
-
isHigh
public boolean isHigh(com.pi4j.io.gpio.GpioPinDigital... gpds)
- Specified by:
isHigh
in interfacecom.pi4j.io.gpio.GpioController
-
low
public void low(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
- Specified by:
low
in interfacecom.pi4j.io.gpio.GpioController
-
isLow
public boolean isLow(com.pi4j.io.gpio.GpioPinDigital... gpds)
- Specified by:
isLow
in interfacecom.pi4j.io.gpio.GpioController
-
setState
public void setState(com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
- Specified by:
setState
in interfacecom.pi4j.io.gpio.GpioController
-
setState
public void setState(boolean bln, com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
- Specified by:
setState
in interfacecom.pi4j.io.gpio.GpioController
-
isState
public boolean isState(com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPinDigital... gpds)
- Specified by:
isState
in interfacecom.pi4j.io.gpio.GpioController
-
getState
public com.pi4j.io.gpio.PinState getState(com.pi4j.io.gpio.GpioPinDigital gpd)
- Specified by:
getState
in interfacecom.pi4j.io.gpio.GpioController
-
toggle
public void toggle(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
- Specified by:
toggle
in interfacecom.pi4j.io.gpio.GpioController
-
pulse
public void pulse(long l, com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
- Specified by:
pulse
in interfacecom.pi4j.io.gpio.GpioController
-
setValue
public void setValue(double d, com.pi4j.io.gpio.GpioPinAnalogOutput... gpaos)
- Specified by:
setValue
in interfacecom.pi4j.io.gpio.GpioController
-
getValue
public double getValue(com.pi4j.io.gpio.GpioPinAnalog gpa)
- Specified by:
getValue
in interfacecom.pi4j.io.gpio.GpioController
-
addListener
public void addListener(com.pi4j.io.gpio.event.GpioPinListener gl, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
addListener
in interfacecom.pi4j.io.gpio.GpioController
-
addListener
public void addListener(com.pi4j.io.gpio.event.GpioPinListener[] gls, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
addListener
in interfacecom.pi4j.io.gpio.GpioController
-
removeListener
public void removeListener(com.pi4j.io.gpio.event.GpioPinListener gl, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
removeListener
in interfacecom.pi4j.io.gpio.GpioController
-
removeListener
public void removeListener(com.pi4j.io.gpio.event.GpioPinListener[] gls, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
removeListener
in interfacecom.pi4j.io.gpio.GpioController
-
removeAllListeners
public void removeAllListeners()
- Specified by:
removeAllListeners
in interfacecom.pi4j.io.gpio.GpioController
-
addTrigger
public void addTrigger(com.pi4j.io.gpio.trigger.GpioTrigger gt, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
addTrigger
in interfacecom.pi4j.io.gpio.GpioController
-
addTrigger
public void addTrigger(com.pi4j.io.gpio.trigger.GpioTrigger[] gts, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
addTrigger
in interfacecom.pi4j.io.gpio.GpioController
-
removeTrigger
public void removeTrigger(com.pi4j.io.gpio.trigger.GpioTrigger gt, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
removeTrigger
in interfacecom.pi4j.io.gpio.GpioController
-
removeTrigger
public void removeTrigger(com.pi4j.io.gpio.trigger.GpioTrigger[] gts, com.pi4j.io.gpio.GpioPinInput... gpis)
- Specified by:
removeTrigger
in interfacecom.pi4j.io.gpio.GpioController
-
removeAllTriggers
public void removeAllTriggers()
- Specified by:
removeAllTriggers
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalMultipurposePin
public com.pi4j.io.gpio.GpioPinDigitalMultipurpose provisionDigitalMultipurposePin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionDigitalMultipurposePin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinPullResistance ppr)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalInputPin
public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionDigitalInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinState ps)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinState ps)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinState ps)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinState ps)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionDigitalOutputPin
public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionDigitalOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogInputPin
public com.pi4j.io.gpio.GpioPinAnalogInput provisionAnalogInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionAnalogInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogInputPin
public com.pi4j.io.gpio.GpioPinAnalogInput provisionAnalogInputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionAnalogInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogInputPin
public com.pi4j.io.gpio.GpioPinAnalogInput provisionAnalogInputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionAnalogInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogInputPin
public com.pi4j.io.gpio.GpioPinAnalogInput provisionAnalogInputPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionAnalogInputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, double d)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, double d)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, double d)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin, double d)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionAnalogOutputPin
public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionAnalogOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, int i)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin, int i)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, int i)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, int i)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin, int i)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin, java.lang.String string)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionSoftPwmOutputPin
public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
provisionSoftPwmOutputPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPin
public com.pi4j.io.gpio.GpioPin provisionPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.PinState ps)
- Specified by:
provisionPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPin
public com.pi4j.io.gpio.GpioPin provisionPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPin
public com.pi4j.io.gpio.GpioPin provisionPin(com.pi4j.io.gpio.GpioProvider gp, com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPin
public com.pi4j.io.gpio.GpioPin provisionPin(com.pi4j.io.gpio.Pin pin, java.lang.String string, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionPin
in interfacecom.pi4j.io.gpio.GpioController
-
provisionPin
public com.pi4j.io.gpio.GpioPin provisionPin(com.pi4j.io.gpio.Pin pin, com.pi4j.io.gpio.PinMode pm)
- Specified by:
provisionPin
in interfacecom.pi4j.io.gpio.GpioController
-
setShutdownOptions
public void setShutdownOptions(com.pi4j.io.gpio.GpioPinShutdown gps, com.pi4j.io.gpio.GpioPin... gps1)
- Specified by:
setShutdownOptions
in interfacecom.pi4j.io.gpio.GpioController
-
setShutdownOptions
public void setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
setShutdownOptions
in interfacecom.pi4j.io.gpio.GpioController
-
setShutdownOptions
public void setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
setShutdownOptions
in interfacecom.pi4j.io.gpio.GpioController
-
setShutdownOptions
public void setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
setShutdownOptions
in interfacecom.pi4j.io.gpio.GpioController
-
setShutdownOptions
public void setShutdownOptions(java.lang.Boolean bln, com.pi4j.io.gpio.PinState ps, com.pi4j.io.gpio.PinPullResistance ppr, com.pi4j.io.gpio.PinMode pm, com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
setShutdownOptions
in interfacecom.pi4j.io.gpio.GpioController
-
getProvisionedPins
public java.util.Collection<com.pi4j.io.gpio.GpioPin> getProvisionedPins()
- Specified by:
getProvisionedPins
in interfacecom.pi4j.io.gpio.GpioController
-
getProvisionedPin
public com.pi4j.io.gpio.GpioPin getProvisionedPin(com.pi4j.io.gpio.Pin pin)
- Specified by:
getProvisionedPin
in interfacecom.pi4j.io.gpio.GpioController
-
getProvisionedPin
public com.pi4j.io.gpio.GpioPin getProvisionedPin(java.lang.String string)
- Specified by:
getProvisionedPin
in interfacecom.pi4j.io.gpio.GpioController
-
unprovisionPin
public void unprovisionPin(com.pi4j.io.gpio.GpioPin... gps)
- Specified by:
unprovisionPin
in interfacecom.pi4j.io.gpio.GpioController
-
isShutdown
public boolean isShutdown()
- Specified by:
isShutdown
in interfacecom.pi4j.io.gpio.GpioController
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfacecom.pi4j.io.gpio.GpioController
-
-