At the current time there is no library routine for RPM.
A little bit of hard ware will solve the problem and
reduce software code.
The idea is to convert the CAS signal to an analog voltages in hardware
and read it in with one of the many ADC ports. Probably takes
less than a usec.
We need to do a PC board anyway for injector drivers and
so fourth. This will add a small area to the PC board.
Paul Lamar