There are various ranges available for the accelerometer and gyroscope of the LSM6DSOX as specified in the documentation for the Arduino Nicla Vision. I found that the default range for the accelerometer is 4g and for the gyroscope, it is 2000dps (Arduino_LSM6DSOX - Arduino Reference). I came across the following code to change the range: lsm = LSM6DSOX(
SPI(5),
cs=Pin(“PF6”, Pin.OUT_PP, Pin.PULL_UP),
gyro_odr=104,
accel_odr=104,
gyro_scale=250,
accel_scale=2,
ucf=UCF_FILE,
)
Unfortunately, this did not work, and I was unable to find any relevant examples in the OpenMV documentation. Are there any functions available in OpenMV to adjust the range for the accelerometer and gyroscope?