Skip to main content
Visitor II
February 11, 2019
Question

LIS2DH12 what is the range of values that is expected in x, y and z axis? We have Configured the LIS2DH12 in the normal mode

  • February 11, 2019
  • 0 replies
  • 496 views

CTRL_REG2=00; CTRL_REG3=00; CTRL_REG4=0x80;CTRL_REG1=0x47 with this BDU =1, FS=2G, Normal.

ReadData(0x80|OUT_X_L_REG, data_raw_acceleration.u8bit, 6);

ax = (((float)data_raw_acceleration.i16bit[0] / 64.0f) * 4.0f)

ay = (((float)data_raw_acceleration.i16bit[0] / 64.0f) * 4.0f)

az = (((float)data_raw_acceleration.i16bit[0] / 64.0f) * 4.0f)

I am able to compile and print the data, What is the range of values I should expect for ax, ay, az ?

    This topic has been closed for replies.