public interface PinListener extends PeripheralEventListener
PinListener interface defines methods for getting notified of GPIO pin value changes. PinListener can be registered using the
GPIOPin.setInputListener(com.oracle.deviceaccess.gpio.PinListener) method.GPIOPin| Modifier and Type | Method and Description |
|---|---|
void |
valueChanged(PinEvent event)
Invoked when a GPIO pin's value has changed.
|
void valueChanged(PinEvent event)
event - the event that occurred.Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.