Measuring tilt with an MMA7260Q accelerometer

lebenj:
hi,

i'm also working on a tilt sensor but with a MMA7361.
the code must be quite the same, as my code works more or less the same also with an ADXL335. just changing constant like sensibility.

for the moment, the result of my code is really far from perfection. but maybe together we will find a good compromise.

actually i'm working on the "tilt sensing", but it's just a first step of what i'm trying to do...

http://arduino.cc/forum/index.php/topic,52514.0.html

the posted code, here, is really bad, i will post my last one tonight, please get a look on it....

regards

Benjamin

Hi, if you have a working code for this kind of accelerometer, this would really help me :slight_smile: