Hi,
How can you convert a decimal value to mg or mg to decimal value to set Activity and Inactivity threshold in the THRESH_ACT_H and THRESH_ACT_L registers.
In the Start-Up Routine for Autonomous Motion Switch in datasheet I am unable to understand how the calculated these values.
It will be very helpful if you can elaborate how these values are converted mathematically.
Thank you