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

getHumidity

Returns the humidity as a percentage at the time of the last read().
Syntax
Humidity. getHumidity()
Where Humidity is the name you have given to the device in Project Designer.
Parameters
None
Returns
HUMIDITY_TYPE
Example
Assuming your device is called 'myHumidity' in Project Designer then:-
myHumidity.read();
HUMIDITY_VALUE val = getHumidity()();
cout << Humidity: << val;
See Also
read

 

 

Valid XHTML 1.0 Transitional