public class GpioPinAnalogValueChangeEvent extends GpioPinEvent
pin, type
source
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, getPin
getSource, toString
public 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–2019 Pi4J. All rights reserved.