Package com.pi4j.io.gpio
Class RaspiGpioProvider
- java.lang.Object
-
- com.pi4j.io.gpio.GpioProviderBase
-
- com.pi4j.io.gpio.WiringPiGpioProviderBase
-
- com.pi4j.io.gpio.RaspiGpioProvider
-
- All Implemented Interfaces:
GpioProvider
,GpioInterruptListener
,EventListener
public class RaspiGpioProvider extends WiringPiGpioProviderBase implements GpioProvider, GpioInterruptListener
Raspberry PIGpioProvider
implementation.- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
-
Fields inherited from class com.pi4j.io.gpio.WiringPiGpioProviderBase
MAX_PIN_CACHE, pinModeCache, pinSupportedCache
-
Fields inherited from class com.pi4j.io.gpio.GpioProviderBase
cache, DEFAULT_CACHE_SIZE, isshutdown, listeners
-
-
Constructor Summary
Constructors Constructor Description RaspiGpioProvider()
Default ConstructorRaspiGpioProvider(RaspiPinNumberingScheme pinNumberingScheme)
Alternate Constructor allowing user to override default pin numbering scheme
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
-
Methods inherited from class com.pi4j.io.gpio.WiringPiGpioProviderBase
addListener, export, export, getMode, getPwm, getState, getValue, hasPin, isExported, pinStateChange, removeListener, setMode, setPullResistance, setPwm, setPwmRange, setState, setValue, unexport, updateInterruptListener
-
Methods inherited from class com.pi4j.io.gpio.GpioProviderBase
dispatchPinAnalogValueChangeEvent, dispatchPinDigitalStateChangeEvent, getPinCache, getPullResistance, isShutdown, removeAllListeners, shutdown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.pi4j.wiringpi.GpioInterruptListener
pinStateChange
-
Methods inherited from interface com.pi4j.io.gpio.GpioProvider
addListener, export, export, getMode, getPullResistance, getPwm, getState, getValue, hasPin, isExported, isShutdown, removeAllListeners, removeListener, setMode, setPullResistance, setPwm, setPwmRange, setState, setValue, shutdown, unexport
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RaspiGpioProvider
public RaspiGpioProvider()
Default Constructor
-
RaspiGpioProvider
public RaspiGpioProvider(RaspiPinNumberingScheme pinNumberingScheme)
Alternate Constructor allowing user to override default pin numbering scheme- Parameters:
pinNumberingScheme
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceGpioProvider
- Specified by:
getName
in classWiringPiGpioProviderBase
-
-