rpm sensing with proximity sensor

  attachInterrupt(digitalPinToInterrupt(interruptPin), blink, HIGH);

The valid modes are RISING, FALLING, CHANGE, and LOW. HIGH is nowhere in that list.