WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

getDistance

Returns the distance in whole cm detected by the sensor during the last read().
If the sensor is capable of returning multiple distance values then this will return the minimum value.
Syntax
Distance. getDistance()
Where Distance is the name you have given to the device in Project Designer.
Parameters
None
Returns
DISTANCE_TYPE

 

 

Valid XHTML 1.0 Transitional