public class GpioPinAnalogValueChangeEvent extends GpioPinEvent
pin, typesource| Constructor and Description |
|---|
GpioPinAnalogValueChangeEvent(Object obj,
GpioPin pin,
double value)
Default event constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
Get the new pin value raised in this event.
|
getEventType, getPingetSource, toStringpublic GpioPinAnalogValueChangeEvent(Object obj, GpioPin pin, double value)
obj - Ignore this parameterpin - GPIO pin number (not header pin number; not wiringPi pin number)value - New GPIO pin value.public double getValue()
Copyright © 2012–2021 Pi4J. All rights reserved.