Temperature

class brainstem.entity.Temperature(module, index)[source]

TemperatureClass: This entity is only available on certain modules, and provides a temperature reading in microcelsius.

getValue()[source]

Get the modules temperature in micro-C The temperature in micro-Celsius (1 == 1e-6C).

Returns:

Result object containing the requested value when the results error is set to NO_ERROR(0)

Return type:

Result

getValueMax()[source]

Get the module’s maximum temperature in micro-C since the last power cycle. The module’s maximum temperature in micro-C

Returns:

Result object containing the requested value when the results error is set to NO_ERROR(0)

Return type:

Result

getValueMin()[source]

Get the module’s minimum temperature in micro-C since the last power cycle. The module’s minimum temperature in micro-C

Returns:

Result object containing the requested value when the results error is set to NO_ERROR(0)

Return type:

Result

resetEntityToFactoryDefaults()[source]

Resets the TemperatureClass Entity to it factory default configuration.

Returns:

An error result from the list of defined error codes in brainstem.result

Return type:

unsigned byte