cruise control on motorcycle, need to read timing between wheel RPMs on reed swi

I have test rode it and it works without flaw.

Have you fixed those recursive calls to loop()? If not fundamentally flawed and works without flaw are not compatible.