rpm sensing with proximity sensor

bos1714:
I see. You say that HIGH is not a valid argument input, but yet is it on the reference snippet I posted. Any explanations?

Other than that it doesn't make sense? Why would you want to trigger an interrupt continually when a pin was HIGH or LOW?

Interrupts are to handle changes from outside the microcontroller.

(LOW has a valid use in waking from sleep mode)