public class PinAnalogValueChangeEvent extends PinEvent
source
Constructor and Description |
---|
PinAnalogValueChangeEvent(Object obj,
Pin 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 PinAnalogValueChangeEvent(Object obj, Pin pin, double value)
obj
- Ignore this parameterpin
- GPIO pin number (not header pin number; not wiringPi pin number)value
- New GPIO pin analog value.public double getValue()
Copyright © 2012–2021 Pi4J. All rights reserved.