Class GpioControllerSimulator

  • All Implemented Interfaces:
    com.pi4j.io.gpio.GpioController

    public class GpioControllerSimulator
    extends java.lang.Object
    implements com.pi4j.io.gpio.GpioController
    Simulates a Raspberry Pi.
    • Method Summary

      All 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)  
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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 interface com.pi4j.io.gpio.GpioController
      • export

        public void export​(com.pi4j.io.gpio.PinMode pm,
                           com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        export in interface com.pi4j.io.gpio.GpioController
      • isExported

        public boolean isExported​(com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        isExported in interface com.pi4j.io.gpio.GpioController
      • unexport

        public void unexport​(com.pi4j.io.gpio.Pin... pins)
        Specified by:
        unexport in interface com.pi4j.io.gpio.GpioController
      • unexport

        public void unexport​(com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        unexport in interface com.pi4j.io.gpio.GpioController
      • unexportAll

        public void unexportAll()
        Specified by:
        unexportAll in interface com.pi4j.io.gpio.GpioController
      • setMode

        public void setMode​(com.pi4j.io.gpio.PinMode pm,
                            com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        setMode in interface com.pi4j.io.gpio.GpioController
      • getMode

        public com.pi4j.io.gpio.PinMode getMode​(com.pi4j.io.gpio.GpioPin gp)
        Specified by:
        getMode in interface com.pi4j.io.gpio.GpioController
      • isMode

        public boolean isMode​(com.pi4j.io.gpio.PinMode pm,
                              com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        isMode in interface com.pi4j.io.gpio.GpioController
      • setPullResistance

        public void setPullResistance​(com.pi4j.io.gpio.PinPullResistance ppr,
                                      com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        setPullResistance in interface com.pi4j.io.gpio.GpioController
      • getPullResistance

        public com.pi4j.io.gpio.PinPullResistance getPullResistance​(com.pi4j.io.gpio.GpioPin gp)
        Specified by:
        getPullResistance in interface com.pi4j.io.gpio.GpioController
      • isPullResistance

        public boolean isPullResistance​(com.pi4j.io.gpio.PinPullResistance ppr,
                                        com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        isPullResistance in interface com.pi4j.io.gpio.GpioController
      • high

        public void high​(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
        Specified by:
        high in interface com.pi4j.io.gpio.GpioController
      • isHigh

        public boolean isHigh​(com.pi4j.io.gpio.GpioPinDigital... gpds)
        Specified by:
        isHigh in interface com.pi4j.io.gpio.GpioController
      • low

        public void low​(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
        Specified by:
        low in interface com.pi4j.io.gpio.GpioController
      • isLow

        public boolean isLow​(com.pi4j.io.gpio.GpioPinDigital... gpds)
        Specified by:
        isLow in interface com.pi4j.io.gpio.GpioController
      • setState

        public void setState​(com.pi4j.io.gpio.PinState ps,
                             com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
        Specified by:
        setState in interface com.pi4j.io.gpio.GpioController
      • setState

        public void setState​(boolean bln,
                             com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
        Specified by:
        setState in interface com.pi4j.io.gpio.GpioController
      • isState

        public boolean isState​(com.pi4j.io.gpio.PinState ps,
                               com.pi4j.io.gpio.GpioPinDigital... gpds)
        Specified by:
        isState in interface com.pi4j.io.gpio.GpioController
      • getState

        public com.pi4j.io.gpio.PinState getState​(com.pi4j.io.gpio.GpioPinDigital gpd)
        Specified by:
        getState in interface com.pi4j.io.gpio.GpioController
      • toggle

        public void toggle​(com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
        Specified by:
        toggle in interface com.pi4j.io.gpio.GpioController
      • pulse

        public void pulse​(long l,
                          com.pi4j.io.gpio.GpioPinDigitalOutput... gpdos)
        Specified by:
        pulse in interface com.pi4j.io.gpio.GpioController
      • setValue

        public void setValue​(double d,
                             com.pi4j.io.gpio.GpioPinAnalogOutput... gpaos)
        Specified by:
        setValue in interface com.pi4j.io.gpio.GpioController
      • getValue

        public double getValue​(com.pi4j.io.gpio.GpioPinAnalog gpa)
        Specified by:
        getValue in interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • removeAllListeners

        public void removeAllListeners()
        Specified by:
        removeAllListeners in interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • removeAllTriggers

        public void removeAllTriggers()
        Specified by:
        removeAllTriggers in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionDigitalInputPin

        public com.pi4j.io.gpio.GpioPinDigitalInput provisionDigitalInputPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        provisionDigitalInputPin in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionDigitalOutputPin

        public com.pi4j.io.gpio.GpioPinDigitalOutput provisionDigitalOutputPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        provisionDigitalOutputPin in interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionAnalogInputPin

        public com.pi4j.io.gpio.GpioPinAnalogInput provisionAnalogInputPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        provisionAnalogInputPin in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionAnalogOutputPin

        public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin​(com.pi4j.io.gpio.Pin pin,
                                                                             double d)
        Specified by:
        provisionAnalogOutputPin in interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionAnalogOutputPin

        public com.pi4j.io.gpio.GpioPinAnalogOutput provisionAnalogOutputPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        provisionAnalogOutputPin in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionPwmOutputPin

        public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin​(com.pi4j.io.gpio.Pin pin,
                                                                       int i)
        Specified by:
        provisionPwmOutputPin in interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionPwmOutputPin

        public com.pi4j.io.gpio.GpioPinPwmOutput provisionPwmOutputPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        provisionPwmOutputPin in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionSoftPwmOutputPin

        public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin​(com.pi4j.io.gpio.Pin pin,
                                                                           int i)
        Specified by:
        provisionSoftPwmOutputPin in interface com.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 interface com.pi4j.io.gpio.GpioController
      • provisionSoftPwmOutputPin

        public com.pi4j.io.gpio.GpioPinPwmOutput provisionSoftPwmOutputPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        provisionSoftPwmOutputPin in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • setShutdownOptions

        public void setShutdownOptions​(com.pi4j.io.gpio.GpioPinShutdown gps,
                                       com.pi4j.io.gpio.GpioPin... gps1)
        Specified by:
        setShutdownOptions in interface com.pi4j.io.gpio.GpioController
      • setShutdownOptions

        public void setShutdownOptions​(java.lang.Boolean bln,
                                       com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        setShutdownOptions in interface com.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 interface com.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 interface com.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 interface com.pi4j.io.gpio.GpioController
      • getProvisionedPins

        public java.util.Collection<com.pi4j.io.gpio.GpioPin> getProvisionedPins()
        Specified by:
        getProvisionedPins in interface com.pi4j.io.gpio.GpioController
      • getProvisionedPin

        public com.pi4j.io.gpio.GpioPin getProvisionedPin​(com.pi4j.io.gpio.Pin pin)
        Specified by:
        getProvisionedPin in interface com.pi4j.io.gpio.GpioController
      • getProvisionedPin

        public com.pi4j.io.gpio.GpioPin getProvisionedPin​(java.lang.String string)
        Specified by:
        getProvisionedPin in interface com.pi4j.io.gpio.GpioController
      • unprovisionPin

        public void unprovisionPin​(com.pi4j.io.gpio.GpioPin... gps)
        Specified by:
        unprovisionPin in interface com.pi4j.io.gpio.GpioController
      • isShutdown

        public boolean isShutdown()
        Specified by:
        isShutdown in interface com.pi4j.io.gpio.GpioController
      • shutdown

        public void shutdown()
        Specified by:
        shutdown in interface com.pi4j.io.gpio.GpioController