I'm doing a 4D orientation detection FSM on the ISM330BX. There is no example for this IMU so I'm following the examples for some of the other IMUs. That is fine and the code works, but what I can't work out is how to calculate the THRESH1 value and ...