Temperature¶
See the Temperature Entity for generic information.
- class brainstem.entity.Temperature(module, index)[source]¶
This entity is only available on certain modules, and provides a temperature reading in microcelsius.
- getValue()[source]¶
Get the modules temperature in micro-C
- Returns:
- Object containing error code and returned value on success.
- errorunsigned byte
An error result from the list of defined error codes
- valueint
The temperature in micro-Celsius (1 == 1e-6C).
- Return type:
- getValueMax()[source]¶
Get the module’s maximum temperature in micro-C since the last power cycle.
- Returns:
- Object containing error code and returned value on success.
- errorunsigned byte
An error result from the list of defined error codes
- valueint
The module’s maximum temperature in micro-C
- Return type:
- getValueMin()[source]¶
Get the module’s minimum temperature in micro-C since the last power cycle.
- Returns:
- Object containing error code and returned value on success.
- errorunsigned byte
An error result from the list of defined error codes
- valueint
The module’s minimum temperature in micro-C
- Return type: