I have mpu-6050 6dof imu. I want to read the value of who_am_i register with register number 0x75. The register returns address 0x68. But I am getting 255. The device address is 0x68 as well.
Code is as follows:
byte ret = ezB_Connect1.EZB.I2C.Read(I2C.ReadArgsEnum.Auto,0x75,1);
here is the register description for the device:RM-MPU-6000A.pdf
I checked my imu with arduino and it works fine. So, any help here?