2019-02-11 11:05 AM
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 ?