The use of the ESP8266 in the world of IoT

User avatar
By Michelle
#59658 I understand the I2C bus, but I have trouble with connecting DS3231 and BMP180 to eps8266 at the same time.

For the DS3231 I used this example:
http://domoticx.com/esp8266-wifi-rtc-ti ... 7-nodemcu/

And this one for the BMP180:
viewtopic.php?p=24406

they work fine alone, but I have trouble connecting both divices to I2C at the same time. I think this is because of the differences in the init functions. And yes, I have changed the sda and scl pins to match (use one I2C).