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

read

Read the sensor and store its current values. Returns TRUE if the sensor has been read successfully, or FALSE if the sensor is busy in which case the read values are unchanged.
Syntax
Sensor. read()
 
Parameters
None
Returns
boolean
Note
The read command will take a snapshot of the sensor into local variables allowing you to access them at your leisure whilst knowing that they will not change until the next read() command is made for the same sensor.

 

 

Valid XHTML 1.0 Transitional