How can I do something like this?
bmi160.setAccelRange(BMI160_ACCEL_RANGE_16G);
bmi160.setAccelODR(BMI160_ACCEL_ODR_50HZ);
bmi160.setGyroRange(BMI160_GYRO_RANGE_1000_DPS);
bmi160.setGyroODR(BMI160_GYRO_ODR_50HZ);
I saw a setSensConf() method but if I understood well it is private, so I can't do something like this:
bmi160.setSensConf(BMI160_ACCEL_SEL, BMI160_ACCEL_RANGE_16G, BMI160_ACCEL_ODR_50HZ);
bmi160.setSensConf(BMI160_GYRO_SEL, BMI160_GYRO_RANGE_1000_DPS, BMI160_GYRO_ODR_50HZ);