First, I would like to say thanks to Sam for sending me the code and the schematic.

Second, I have a question: what is the maximum RPM this circuit/code can read?

Thanks!

Daniel.