Nicla Vision change accelerometer sensivity

Hello,
I just received my Nicla Vision and like to change the sensivity of the accelerometer.
In theory the LSM6DSOX should work up to 16g - default in Arduino_LSM6DSOX.h is 4 -> is it possible to change it to 16g?

simplest way is to use a text editor program

Thank you, I think my problem is, that I can't find the place where to edit it - do you know where i need to type in what?

? hmmm...

No, unfortunately not. The closet I came was on LSM6DSOX.cpp

  // Set the Accelerometer control register to work at 104 Hz, 4 g,and in bypass mode and enable ODR/4
  // low pass filter (check figure9 of LSM6DSOX's datasheet)
  writeRegister(LSM6DSOX_CTRL1_XL, 0x4A);

No idea how to change it, I had a look in the lsm6dsox.pdf but I could not find what exactly needs to be called - and I am not sure if the Nicla Vision supports values others then the one it came with...

do it. just do it. make your dream comes ...


Thats what I did and the same time were my problem is - do not know yet how to translate the information in that box (01 for 16g) in code and I do not know where to put it - so if you know how to do it please tell me

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.