Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C reading when device has multiply internal registers

Hi,

 

I try to connect MPL3115A2 pressure/altitude and temperature sensor (I2C address is 0x60) which has multiply internal registers with addresses from 0x0 to 0x2D. I2C read vi doesn't use register address. Combination of I2C Write which to define address 0xC and I2C read doesn't help. I tried to use I2C read to read many bytes and got all 0.

 

Is it I2C library limitation?

 

P.s. test program with MPL3115A2 libraries under Arduino framework works fine.

0 Kudos
Message 1 of 1
(1,461 Views)