"BME680 error code : -2" using the basic example of the BSEC Library on a NodeMcu ESP8266

Hello, 

I followed the guide as per https://github.com/BoschSensortec/BSEC-Arduino-library

Compiling and Uploading the example code on the ESP8266 does work, but I get this Error:

I connected the BME680 via I²C, and other third party codes do work, but I need this one to work tho. 
Thanks in Advance!

Best reply by jordan982

Hi,

Have you already tried to change the address from primary to secondary?

For example:

iaqSensor.begin(BME680_I2C_ADDR_SECONDARY, Wire);

Let me know

 

View original
1 reply
Resolved