ArduinoTroubleshooting

Gravity - BMI160 6DoF IMU - only 2G accel range? How to change it using DFRobot_BMI160.h lib?

userHead Cezary.Kra 2024-02-28 21:02:05 106 Views1 Replies

I am not able to change accelerometer range from 2G to 8G. I am using DFRobot_BMI160.h

 

2024-02-29 17:21:07

You can delete the original library.

And search for BMI160_ACCEL_RANGE_2G in DFRobot_BMI160.cpp and change all of the 2G to 8G. There are three places in total.

Then re-load the library.

 

userHeadPic Yeez_B