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, unexportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, export, export, getMode, getPullResistance, getPwm, getState, getValue, hasPin, isExported, isShutdown, removeAllListeners, removeListener, setMode, setPullResistance, setPwm, setPwmRange, setValue, shutdown, unexportpublic static String NAME
public String getName()
getName in interface GpioProvidergetName in class GpioProviderBasepublic void setState(Pin pin, PinState state)
setState in interface GpioProvidersetState in class GpioProviderBasepublic void setAnalogValue(Pin pin, double value)
Copyright © 2012–2021 Pi4J. All rights reserved.