Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_Temperature.h File Reference
#include <ble/cs_Nordic.h>
#include "util/cs_BleError.h"
Include dependency graph for cs_Temperature.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t getTemperature ()
 Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Oct 23, 2014 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) More...
 

Function Documentation

◆ getTemperature()

int32_t getTemperature ( )
inline

Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Oct 23, 2014 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)

Get temperature reading from the softdevice

The received value from the softdevice is in 0.25°C steps, so in order to get it in °C, the value is divided by 4