Go Down

Topic: how to ignore data inputs ADXL 345 (Read 480 times) previous topic - next topic


Hi guys,

Im quite new to all this coding stuff, so bear with me.

basically, I have set up my ADXL345 as a sensor on a motorbike, however every time I initiate the alarm, the initial readings are 511, way over the thresholds set.

Simply put, I need a way of ignoring the first 10 readings, or having an arming period of say 5 seconds.

Any help would be great.




having an arming period of say 5 seconds

Code: [Select]
delay (5000);
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.


Posting your code of what you have allready helps us to understand the issue.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131