what input pin is it using?

Joes:
yes there is where it is blinking the led i dont actually need that led how can i get rid of that function as ive noticed if i remove void rpm_fun() i get a error

You could remove the blinking by taking out the two lines of code that write HIGH and LOW to the ledPin, and the delay between them.