nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ ext_sensors_temperature_get()

int ext_sensors_temperature_get ( double * temp)

#include <applications/asset_tracker_v2/src/ext_sensors/ext_sensors.h>

Get temperature from library.

Parameters
[out]tempPointer to variable containing temperature in celcius.
Returns
0 on success or negative error value on failure.