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
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.
Thank you for your quick reply. We will be looking into it.
Best Regards,
Dhinesh