public class DistanceSensorComponent extends DistanceSensorBase
coordinates, lastDistanceTimestamp
listeners
Constructor and Description |
---|
DistanceSensorComponent(GpioPinAnalogInput pin)
default constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getValue() |
addCalibrationCoordinate, addListener, getDistance, getDistance, getLastDistanceTimestamp, isDistance, isDistanceInRange, isValue, isValueInRange, notifyListeners, removeListener
addListener, removeAllListeners, removeListener
clearProperties, getName, getProperties, getProperty, getProperty, getTag, hasProperty, removeProperty, setName, setProperty, setTag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
removeAllListeners
clearProperties, getName, getProperties, getProperty, getProperty, getTag, hasProperty, removeProperty, setName, setProperty, setTag
public DistanceSensorComponent(GpioPinAnalogInput pin)
pin
- analog input pinCopyright © 2012–2014 Pi4J. All rights reserved.