Share SCL & SDA using arduino Pro mini
-
Share SCL & SDA using arduino Pro mini
Does anyone know how to connect 2 sensors both using SCL/SDA?
And how to combine them in de sketch?In my example (BH1750 & BMP085)
Thanks
-
The sensors on the I2C buss has an address. As long as there is no address conflict on the buss you can add multiple sensors. You need to check what address your sensors are using and/or the possibility to change the address of your sensor if you find that there might be a conflict.