Hello uphon,
In bhi2.c file, bhy2_set_virt_sensor_range() function support to set sensor range. int8_t bhy2_set_virt_sensor_range(uint8_t sensor_id, uint16_t range, struct bhy2_dev *dev)
To set sensor range, you could call bhy2_set_virt_sensor_range() in begin(). BoschSensortec.cpp bool BoschSensortec::begin() { ... bhy2_set_virt_sensor_range(); ... }
... View more