11-15-2021 03:57 PM
Hello,
although there are examples for all three mods (forced, parallel and sequential) in the GitHub repository, only forced and parallel mods are mentioned in the BME688 Data sheet.
Forced mode is the simple mode with only one step, which means that it is not useful for AI applications.
But what is the different between parallel and sequential mods in the context of BME688? And how to choose between them for AI applications?
Thanks
MAS
Solved! Go to Solution.
11-19-2021 12:10 AM
Hello Meh,
Yes, let me talk our example code in github.
You can get delay period using our API, then you just need to apply it as below.
/* Calculate delay period in microseconds */
del_period = bme68x_get_meas_dur(BME68X_FORCED_MODE, &conf, &bme) + (heatr_conf.heatr_dur * 1000);
bme.delay_us(del_period, bme.intf_ptr);
time_ms = coines_get_millis();
/* Check if rslt == BME68X_OK, report or handle if otherwise */
rslt = bme68x_get_data(BME68X_FORCED_MODE, &data, &n_fields, &bme);
Please check it in details as below url.
https://github.com/BoschSensortec/BME68x-Sensor-API/tree/master/examples/forced_mode
Thank you.