I see a few posts on this forum about changing the dynamic range of my sensor, BHI260AP, however I do not understand how to actually implement this change. This is a quote from one of the links below: You could refer the following code to modify sensor range. 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(); ... } -- I cannot find a BHI2.c file, Does this mean the BHY2.c file? -- I found the refered function but its within the BHY2.c file. I also am not sure what to modify or how to call the function. SEE SCREENSHOT I also found the sensortec file and where the function is being called from. SEE SCREENSHOT I feel quite dumb, but can someone explain this better to me? https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/Nicla-Sense-BHI260-Is-calibration-affected-by-the-dynamic-range/m-p/53813#M10469 https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/How-to-configure-acceleration-range-of-Nicla-Sense-ME-BHI260AP/m-p/56185#M11017 https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bhi260ap-ds000.pdf (GO TO PAGE 149 for dynamic ranges)
... View more