05-10-2020 01:33 PM - edited 05-10-2020 02:54 PM
I use myself board with STM32F030C8.
I run the example code with configure generic_33v_3s_28d
In function bsec_iot_loop(), I get the struct sensor_settings value when first run bsec_sensor_control(time_stamp, &sensor_settings);
but 3s later run bsec_sensor_control(time_stamp, &sensor_settings); again, struct sensor_settings value were changed to 0.
can see my attachment picture.
Can you give me some suggestion? Thank you!
Solved! Go to Solution.
05-10-2020 01:40 PM - edited 05-10-2020 01:41 PM
And,
run ret = bsec_iot_init(BSEC_SAMPLE_RATE_LP, 0.0f, bus_write, bus_read, sleep, state_load, config_load); before bsec_sensor_control(time_stamp, &sensor_settings); the value of sensor_settings looks like OK, but I don't confirm if this process is corrected.
05-10-2020 05:21 PM
solved.
My timer is not accurate for 3 seconds