Motion Stopwatch + Inclination Timers threshold mindelay acc accT accCopy accTCopy t limit max last tlist dtlist tindex tcount tcount-1 avgInterval avgRate avgBPM t0 t1 t2 t3 t4 t5 t0effective t1effective t2effective t3effective t4effective t5effective tmax dt01 dt02 dt03 dt04 dt05 dt12 dt23 dt34 dt45 count accX accY accZ angle angleStart angleFriction Mu acc accT accX accY accZ threshold mindelay angleFriction Mu acc accCopy accT accTCopy accCopy count count 0 0 accCopy accCopy count 0 0 accTCopy accTCopy count 0 tmax accTCopy tmax accTCopy accCopy t max max threshold t 0 t accX accY accZ angle t 0 angle angleStart angleStart angleFriction angleFriction Mu last tlist last last mindelay limit limit t t 0 t t 0 t tlist tlist dtlist dtlist avgInterval 1 avgInterval avgRate avgRate 60 avgBPM 0 dtlist tlist tcount tcount 1 tcount-1 0 tcount-1 tcount tindex t0 t1 t2 t3 t4 t5 0 1 tlist t0 1 1 tlist t1 2 1 tlist t2 3 1 tlist t3 4 1 tlist t4 5 1 tlist t5 t5 0 tmax t5 t5effective t4 0 tmax t4 t4effective t3 0 tmax t3 t3effective t2 0 tmax t2 t2effective t1 0 tmax t1 t1effective t0 0 tmax t0 t0effective t5effective t4effective dt45 t4effective t3effective dt34 t3effective t2effective dt23 t2effective t1effective dt12 t5effective t0effective dt05 t4effective t0effective dt04 t3effective t0effective dt03 t2effective t0effective dt02 t1effective t0effective dt01 t0 t1 dt01 t0 t1 t2 t3 t4 t5 tlist dtlist