public class GpioPinDigitalStateChangeEvent extends GpioPinEvent
pin, typesource| Constructor and Description | 
|---|
| GpioPinDigitalStateChangeEvent(Object obj,
                              GpioPin pin,
                              PinState state)Default event constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| PinEdge | getEdge()Get the pin edge for the state change caused by this event. | 
| PinState | getState()Get the new pin state raised in this event. | 
getEventType, getPingetSource, toStringpublic GpioPinDigitalStateChangeEvent(Object obj, GpioPin pin, PinState state)
obj - Ignore this parameterpin - GPIO pin number (not header pin number; not wiringPi pin number)state - New GPIO pin state.Copyright © 2012–2021 Pi4J. All rights reserved.