public interface GpioDigitalInputDeviceInterface extends GpioDeviceInterface
GpioDeviceInterface.Mode
Modifier and Type | Method and Description |
---|---|
default GpioDeviceInterface.Mode |
getMode() |
boolean |
getValue() |
void |
removeListener() |
void |
setDebounceTimeMillis(int debounceTime) |
void |
setListener(InputEventListener<DigitalInputEvent> listener) |
getPin
close, getKey, isOpen
void setDebounceTimeMillis(int debounceTime)
void setListener(InputEventListener<DigitalInputEvent> listener)
void removeListener()
boolean getValue() throws RuntimeIOException
RuntimeIOException
default GpioDeviceInterface.Mode getMode()
getMode
in interface GpioDeviceInterface
Copyright © 2016 mattjlewis. All rights reserved.