03-10-2022 09:49 AM
Hi,
I'm using the sensor BME688 with its official BME688-API. Im working with gcc-Cortex-M3. Now, I've added to my project 'bsec_datatypes.h', 'bsec_interface.h' and 'libalgobsec.a' libraries from BSEC.2 software.
In my 'process Thread' function I have initialized 'bsec_init()' , but I can see the IAQ values.
1. Do I have to initialice somehing else?
2. Wich are the names from the variables of IAQ that I should put inside of the 'process thread' to make printf() and see the values in my terminal?
Thanks.
Solved! Go to Solution.
03-10-2022 11:37 AM
Hello RPN93,
After you migrate BME688 sensor API and BSEC library, you could refer the example code to run it and select your output value.
https://github.com/BoschSensortec/Bosch-BSEC2-Library/tree/master/examples/generic_examples
03-10-2022 12:23 PM
Hi BSTRobin,
thanks for answering. I've already seen this code with the others one, but this is made for arduino.
Is there any example in C where I can compare? Because in the code you said, to initialice they are using funcions defined in 'bsec.c' file, which is supposed to not be included in my project if I have the BME68x-API.
Thanks
03-11-2022 03:35 AM
Hello RPN93,
The example code was written by C++, driver code was written by C.
For BME688, you could download BSEC package that include BME688 driver code and example code.
https://www.bosch-sensortec.com/software-tools/software/bme688-software/