Gravity - BMI160 6DoF IMU - only 2G accel range? How to change it using DFRobot_BMI160.h lib?
I am not able to change accelerometer range from 2G to 8G. I am using DFRobot_BMI160.h
2024-03-01 01: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.
Yeez_B