Read Data from Arduino over I2C


I would like to read some data from some sensors on Arduino board over i2c,
But I don’t know how I can correctly read the data.

I wrote a prog that use the I2Cdev, but only can read the first two bytes.
When I use different Register Addresses to read from, I get also first two bytes.

The same when i use i2ctools, only i2cdump on I2C block mode read the complete string.

Hello Jean,
Judging by your comment you need to use readRegisters method. Could you please describe your setup so we can help?