public class GpioProviderPinCache extends Object
Constructor and Description |
---|
GpioProviderPinCache(Pin pin) |
Modifier and Type | Method and Description |
---|---|
double |
getAnalogValue() |
PinMode |
getMode() |
int |
getPwmValue() |
PinPullResistance |
getResistance() |
PinState |
getState() |
boolean |
isExported() |
void |
setAnalogValue(double value) |
void |
setExported(boolean exported) |
void |
setMode(PinMode mode) |
void |
setPwmValue(int value) |
void |
setResistance(PinPullResistance resistance) |
void |
setState(PinState state) |
String |
toString() |
public GpioProviderPinCache(Pin pin)
public PinPullResistance getResistance()
public void setResistance(PinPullResistance resistance)
public double getAnalogValue()
public void setAnalogValue(double value)
public int getPwmValue()
public void setPwmValue(int value)
public boolean isExported()
public void setExported(boolean exported)
Copyright © 2012–2019 Pi4J. All rights reserved.