de.jaetzold.art.platform
Interface LightSensorPeer

All Superinterfaces:
SensorPeer
All Known Implementing Classes:
Mindstorms.MSLightSensorPeer

public interface LightSensorPeer
extends SensorPeer


Method Summary
 double getMeasurableMax()
          Same principle as for measurableMin.
 double getMeasurableMin()
          This returns the smallest value which is still accurate (considering the precision).
 
Methods inherited from interface de.jaetzold.art.platform.SensorPeer
addPropertyChangeListener, disableEvent, enableEvent, getDeliversFloatingPoint, getPrecision, getValue, isConnected, processEvent, removePropertyChangeListener, update
 

Method Detail

getMeasurableMin

public double getMeasurableMin()
This returns the smallest value which is still accurate (considering the precision). That gives a LightSensor the chance to tell that the Light-Level is out of the range it can measure with sufficient precision. A value of 0 for example would usually not be a real measured value, except for the case where the measurableMin<=precision.

getMeasurableMax

public double getMeasurableMax()
Same principle as for measurableMin.
See Also:
getMeasurableMin()