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

getSensorCelsius

Returns the temperature, in celsius, from one of the individual temperature sensors.
Syntax
Tpa81. getSensorCelsius(sensor)
Where Tpa81 is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'sensor'
The index number of the individual sensor you want to access. This should be in the range 0 to 7.
Returns
TEMPERATURE_TYPE
Note
This will return '0' if the specified individual sensor is invalid.
The function getCelsius() will return the ambient temperature across all sensors.
See Also
read
Temperature::getFahrenheit

 

 

Valid XHTML 1.0 Transitional