.boardtemp Property
Function: |
Reads the current temperature from the onboard temperature sensor. |
Syntax: |
sys.boardtemp as real |
Returns: |
|
See Also: |
--- |
Details
This property reads the current temperature from the onboard temperature sensor. When the temperature sensor functions correctly, it provides a floating-point value representing the board's temperature in degrees Celsius. If there is a hardware issue, the value 255 is returned. This serves as an error code to indicate that the sensor failed to provide a valid temperature reading.
Supported in TPP Gen. 3 boards.