nRF Connect SDK API 0.1.0
|
int ext_sensors_inactivity_timeout_set | ( | double | inact_time | ) |
#include <applications/asset_tracker_v2/src/ext_sensors/ext_sensors.h>
Set the timeout for the inactivity detection of the accelerometer.
[in] | inact_time | Variable that sets the accelerometer inactivity timeout in s. Must be a value larger than 0 and smaller than the configured range (default ODR=12.5Hz, max timeout: 5242.880) |