What range of RPM are you expecting ?
it is quite likely that you don't need to use interrupts at all if the RPM is relatively small
What range of RPM are you expecting ?
it is quite likely that you don't need to use interrupts at all if the RPM is relatively small