Question

I am developing a spirit level. Currently I use the x and y values of the accelerometer. I do not use the z value. In general it works, but it isnt very smooth.

Would it be a better solution to use the orientation sensor or maybe both?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top