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

◆ ext_sensors_pressure_get()

int ext_sensors_pressure_get ( double *  press)

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

Get pressure from library.

Parameters
[out]pressPointer to variable containing atmospheric pressure in kilopascal.
Returns
0 on success or negative error value on failure.