Forward and reverse counting is working.

Need to add RPM calculation