Measuring speed with 2 PIR sensors

The moment you feel the need of numbers in your variable names, it's time to look into using arrays.

Code looks too random and messy to start analysing before I finished my morning coffee... so that'll have to wait.