I have successfully developed and tested this sketch (https://github.com/jordan1982/temperaturino) on d1 mini. Then I bought a new d1 mini and a new sensor bme680, loaded the sketch but at startup it goes into error with the following error: BME680 error code: -2
I tried to change the line "iaqSensor.begin (BME680_I2C_ADDR_SECONDARY, Wire);" to BME680_I2C_ADDR_PRIMARY, but the sensor fails. I get the same error with the basic sketch included in the library. Can someone help me? Thank you
Solved! Go to Solution.