public class DistanceSensorComponent extends DistanceSensorBase
coordinates, lastDistanceTimestamplisteners| 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, removeListeneraddListener, removeAllListeners, removeListenerclearProperties, getName, getProperties, getProperty, getProperty, getTag, hasProperty, removeProperty, setName, setProperty, setTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveAllListenersclearProperties, getName, getProperties, getProperty, getProperty, getTag, hasProperty, removeProperty, setName, setProperty, setTagpublic DistanceSensorComponent(GpioPinAnalogInput pin)
pin - analog input pinCopyright © 2012–2019 Pi4J. All rights reserved.