On Fri, 5 Sep 2014 12:52:33 +0100 Luke Kenneth Casson Leighton lkcl@lkcl.net wrote:
aaa. btw the MXC6225XU is basically "are we vertical, are we horizontal" it doesn't provide any kind of "tilt" or angle, and it is 2-axis not 3-axis. the data output is either 0x00 or 0xff.
In fact it *gives* you an output for X and Y (Which is from -128 to 127). Have a look at page 9. It just gives you an additional register with some bits which will show you the basic orientation and if the devices has been shaken.