Re: Connect BME280 sensor to NodeMCU or WeMos D1 via I2C ?
Posted: Sat Nov 05, 2016 6:31 am
Glyphi wrote:Thank you! I had exactly the same problem and your code has fixed it. Now I'm very tempted to dig and find out why Adafruit's code didn't - it would be nice to give something back for a change, cos I bet the same fix would work for BMP180 and 280.
Adafruit library uses 0x77 as default address for the module.
See https://learn.adafruit.com/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout/wiring-and-test
Changing 0x77 into 0x76 did the trick for me (simply edit Adafruit_BME280.h file).
Sorry if this post comes a bit late but I hope this will save some time to the next reader in the same situation.