Hello,
I’m trying to use the MMA8452Q accelerometer and the TMP102 temperature sensor over the same I2C bus with an arduino uno rev3. I am not using a logic level converter, but I do have 4.7k pullups to 3.3v on both SDA/SCDL. I have successfully used example code to receive data from both sensors, however, the MMA8452Q disallows the use of the Wire library, used by the TMP102 example code.
I don’t think the Wire and I2C libraries can be used simultaneously, and it seems like a waste of resources to use both, even if they can be.
I know that the Wire library is a little higher lever than the I2C library. Can anyone point me to some information on how to read from either the TMP102 or just a generic I2C device using the I2C library?
Thanks in advance!