GUOJIMIAO
Newbie level 4
Hi, amazing people!
I have difficulty with LSM303DLHC. In the datasheet, I couldn't find any information about the output format of acceleration and magnetic data. So I think it applies to 16-bit values. When using the sensor, I noticed that the acceleration data I got was wrong. After some searches on the Internet and some tests, I found that the acceleration data is 12-bit left-aligned, and the magnetic data is 12-bit right-aligned.
The information I found above:
Does anyone have the same question about using LSM303DLHC?
Hope some advice!
Thanks in advance!
I have difficulty with LSM303DLHC. In the datasheet, I couldn't find any information about the output format of acceleration and magnetic data. So I think it applies to 16-bit values. When using the sensor, I noticed that the acceleration data I got was wrong. After some searches on the Internet and some tests, I found that the acceleration data is 12-bit left-aligned, and the magnetic data is 12-bit right-aligned.
The information I found above:
Does anyone have the same question about using LSM303DLHC?
Hope some advice!
Thanks in advance!