Logic For Measuring Pull up using accelerometer (Android)

Audiophi1le

Live eviL
Adept
Apr 18, 2009
1,167
42
62
hi guys,

i am implementing a simple project where a counter is incremented for every pull up.
However my logic is a bit flawed and it even detects shake .

If anyone can enlighten me on this I will be grateful.

thanks