Quote:
Originally Posted by Smoking_Gun
P.S.
Kevin said last year that he will publish the code, but I can't seem to find it either.
|
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