Thanks for the response.
I was quoting the example given in the documentation for the accelorometer when I put:
The documentation, and many other sites on the web say that arcsin(x/1G) is how you get the Tilt angle.
I've poured over the documentation, and confirmed that based on the positioning of the accelorometer, axis 1 should provide the 1G value.
However, if I calculate the tilt angle using this formula, or using your formula, the value is still inconsistent.
For example, tilting the accelorometer on the x axis, the x value will change to 0.05, then to 0.06 then back to 0.05 when you would expect it to continue onto 0.07.
I've tried just putting the raw data into the display field with sensitivity set to 0.01, and it cycle's through a whole lot of numbers before stopping on one.
I might have to switch to just keeping track of the position of the stepper motors, or buy a dedicated tilt sensor.
Why does the thought "It shouldn't be this hard?" keep popping into my mind?
All the best,