05-16-2019 03:55 PM
We tried executing the example sketch "basic.ino" in the BSEC library v1.4.7.3. But we find it always return eroor code '-2'.
We uncommented the macro BME680_FLOAT_POINT_COMPENSATION in "bme680_defs.h". Though the example code always throw error code '-2'.
Why does it always return '-2'?
Thank you.
Best Regards,
Dhinesh
05-17-2019 08:39 AM
Hi dhineshkumar,
The BME680 Error code -2 corresponds to 'BME680_E_COM_FAIL' which means that the communcation between the host microcontroller and the sensor failed. Please verify the connections.
05-22-2019 08:52 AM
Thank you for your quick reply. We will be looking into it.
Best Regards,
Dhinesh