public interface IGPIOListener
Use the GPIO.registerListener(IGPIOListener)
and
GPIO.unregisterListener(IGPIOListener)
methods to subscribe or
unsubscribe your listener.
GPIOSample
Modifier and Type | Method | Description |
---|---|---|
void |
valueChanged(GPIOSample sample) |
Called when the GPIO value changes.
|
void valueChanged(GPIOSample sample)
sample
- A GPIO sample containing the GPIO
that changed
and its new value.GPIOSample