LSM303AGR gives weird values output of the accelerometer
Hi,
I am using examples from the github repo to test accelerometer. I can read device id from both accel and magnetometer. Also I can read back the registers I set. However, when it comes to read accelerometer, I read same values from all axis of the accelerometer such as A0A0A0 or 808080 and so on. Another behavior I observed is sometimes, boot register stuck as 1 after I use to BOOT bit from CTRL_REG5_A.
Also I read very low values from magnetometer and 0 from temperature sensor.
Is there any idea what is going wrong?
Thanks.
