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

isInWater

Return TRUE if you have told the sensor that it is underwater or FALSE if not.
Syntax
Mb7077. isInWater()
Where Mb7077 is the name you have given to the device in Project Designer.
Parameters
None
Returns
boolean
Note
The sensor doesn't automatically know whether it is underwater or not - you must tell it!

 

 

Valid XHTML 1.0 Transitional