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?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top