Package | Description |
---|---|
org.eclipse.kura.gpio |
Provides APIs to acquire and use GPIO resources available on the system.
|
Modifier and Type | Method and Description |
---|---|
void |
KuraGPIOPin.addPinStatusListener(PinStatusListener listener)
Adds a
PinStatusListener to this input pin. |
boolean |
KuraGPIOPin.getValue()
Used to get the current value of a pin, either output or input
|
void |
KuraGPIOPin.removePinStatusListener(PinStatusListener listener)
Removes a
PinStatusListener from this input pin.If the pin has no listeners attached, this method should fail silently. |
void |
KuraGPIOPin.setValue(boolean active)
Used to set the value of an output pin.
|
Copyright © 2015. All Rights Reserved.