07-09-2019 03:47 AM - edited 07-09-2019 04:16 AM
Are some of the virtual sensors depreciated or am I missing something.
I am using BSEC 1.4.7.3 with a MBE680.
I've based my code on the "basic_config_state.ino" example.
When compiling I found the 4 variables aere all initiated but not used.
Have these been depreciated or they used in the compiled code? I could not find any documentation on them.
I also found this line of code in the same example
checkIaqSensorStatus();
Ihave not been able to find any reference to it in any of the app notes or other files (that I can read). Is it a useful statement?
Thanks, John
Solved! Go to Solution.
07-10-2019 02:05 PM
Sorry, I did miss that the variables were the accuracy outputs. These should indeed be available/active in BSEC, but the bsec_integration.c sample code does not pass these values to the 'callback' function (output_ready), therefore the variables are really not used and thus the compilation warning.
I think the confusion came from the fact that basic_config_state.ino and checkIaqSensorStatus() are both from the BSEC Arduino library (i.e. library to use BSEC in Arduino IDE sketches), while the 4 variables listed seem to be found in bsec_integration.c (generic C-code sample code), that have small differences in their interfaces.