what input pin is it using?

attachInterrupt(0, rpm_fun, FALLING);

Right there, pin 2.