Temperature Class

class TemperatureClass : public Acroname::BrainStem::EntityClass

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

Public Functions

TemperatureClass(void)

Constructor.

~TemperatureClass(void)

Destructor.

void init(Module *pModule, const uint8_t index)

Initialize the class.

Parameters
  • pModule: The module to which this entity belongs.
  • index: The index of the entity.

aErr getTemperature(int32_t *microcelsius)

Get the temperature.

Return
Returns common entity return values
Parameters
  • microcelsius: The temperature in micro-Celsius (1 == 1e-6C).