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

read

Read the values from the controller and store them.
All of the functions that return joystick values and button states work with the data last read by this command.
The function will return TRUE if the controller was read successfully or FALSE if there was a problem.
Syntax
SonyPS2. read()
Where SonyPS2 is the name you have given to the device in Project Designer.
Parameters
None
Returns
boolean

 

 

Valid XHTML 1.0 Transitional