Hi there and sorry, if I am making a trivial mistake, but I am new to Arduino projects and I am experiencing a problem.
I want to connect a
- Grove - Temperature&Humidity Sensor (High-Accuracy &Mini) v1.0 and a
- Grove - Barometer Sensor (BMP280)
to the Grove BaseShield of my Arduino Uno via I2C.
The example sketches work fine, when I connect only one of them, but when I connect both, the example Sketch for BMP280 does not run, whereas the Sketch of TH02 does run.
I digged into the BMP280 library, and found that the sketch gets stuck in the init() function when assigning dig_T3. More specifically in the function bmp280Read16(), because the wire.available() function called there, results in a number less than 2.
What could be the problem here and how can I fix it?
It seems as if the earlier connections while assigning dig_T1 and dig_T2 in the init() function did not get closed properly.
Thank you very much,