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

pressed

Returns TRUE if the switch/button is pressed (closed) or FALSE if released (open).
Syntax
Switch. pressed()
Where Switch is the name you have given to the device in Project Designer.
Parameters
None
Returns
boolean

 

 

Valid XHTML 1.0 Transitional