public class AnalogInputEvent extends DeviceEvent
Constructor and Description |
---|
AnalogInputEvent(int gpio,
long epochTime,
long nanoTime,
float unscaledValue,
float scaledValue) |
Modifier and Type | Method and Description |
---|---|
float |
getScaledValue()
Value from -range..range
|
float |
getUnscaledValue()
Value from -1..1
|
String |
toString() |
getEpochTime, getGpio, getNanoTime
Copyright © 2016–2017 mattjlewis. All rights reserved.