• Am I to understand then, that only accurate data is obtained when L14-L17 are commented out?
    That is correct.

    I made the interval 10s and added as much as a 2s timeout between the different reading with the same results.

    I am not using any pull-ups on the i2c connection.
    Everything is grounded.

    I tried reordering the functions and got some different results. I found that it doesn't matter where the temp reading is, but it can't read altitude and pressure (no matter which callback is first), or one of them will come up with crazy numbers. Also, the first reading is always off.

    I am under the impression that the sensor uses the pressure and temp to estimate the altitude.


Avatar for calebbrewer @calebbrewer started