public class SimulatedGpioProvider extends GpioProviderBase implements GpioProvider
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
cache, DEFAULT_CACHE_SIZE, isshutdown, listeners
Constructor and Description |
---|
SimulatedGpioProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
setAnalogValue(Pin pin,
double value) |
void |
setState(Pin pin,
PinState state) |
addListener, dispatchPinAnalogValueChangeEvent, dispatchPinDigitalStateChangeEvent, export, export, getMode, getPinCache, getPullResistance, getPwm, getState, getValue, hasPin, isExported, isShutdown, removeAllListeners, removeListener, setMode, setPullResistance, setPwm, setPwmRange, setValue, shutdown, unexport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, export, export, getMode, getPullResistance, getPwm, getState, getValue, hasPin, isExported, isShutdown, removeAllListeners, removeListener, setMode, setPullResistance, setPwm, setPwmRange, setValue, shutdown, unexport
public SimulatedGpioProvider()
public String getName()
getName
in interface GpioProvider
getName
in class GpioProviderBase
public void setState(Pin pin, PinState state)
setState
in interface GpioProvider
setState
in class GpioProviderBase
public void setAnalogValue(Pin pin, double value)
Copyright © 2012–2021 Pi4J. All rights reserved.