Quote:
Originally Posted by Kevin Watson
If you're trying to use the sensor to measure tilt relative to the gravity vector, just use the ADC code to measure the outputs. Remember to take into account the ~2.5 volt bias. I have some code floating around here somewhere that shows how to derive tilt from the two outputs. I'll have a look and post what I've got.
-Kevin
|
Have a look at the attached code. You'll also need to get a copy of the ADC code from my website.
-Kevin