com.oracle.deviceaccess.gpio
Interface PinListener
- All Superinterfaces:
- PeripheralEventListener
public interface PinListener
- extends PeripheralEventListener
The PinListener
interface defines methods for
getting notified of a GPIO pin value change.
A PinListener
can be registered
using the GPIOPin.setInputListener(com.oracle.deviceaccess.gpio.PinListener)
method.
- See Also:
GPIOPin
valueChanged
void valueChanged(PinEvent event)
- Invoked when a GPIO pin's value has changed.
- Parameters:
event
- the event that occurred.
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.