Free fall detection
Hello everyone!
I am trying to implement a free fall detector using the IOT sensor, I want the any motion detection to be replaced by the free fall detection interrupt.
I tried and tried but it keeps not working, and here is my code :
in user sensor.c :
void user_bmi160_config_low-g_intr( void ) {
bmi160_set_low_g_enable(BMI160_ENABLE);
bmi160_set_low_high_g_source(0x01);