public class GpioPinDigitalStateChangeEvent extends GpioPinEvent
pin, type
source
Constructor and Description |
---|
GpioPinDigitalStateChangeEvent(Object obj,
GpioPin pin,
PinState state)
Default event constructor
|
Modifier and Type | Method and Description |
---|---|
PinState |
getState()
Get the new pin state raised in this event.
|
getEventType, getPin
getSource, toString
public PinState getState()
Copyright © 2012–2015 Pi4J. All rights reserved.