Vehicle speed sensor

dexterbug:
This is getting more confusing, I originally thought it was going to be a simple project with just a few lines of code but its going way over my head.

I dont really need much accuracy, just at 60hz input I want any output thats over 100mph.

I looked at the hall sensor file but I wouldn't know how to adapt that to my project.

I appreciate your help guys and if I can get this working I will happily contribute to someones beer fund.

If you ever do write code, where every character counts, then get used to the idea of debugging, of checking and correcting.

Is 8000 pulses per mile correct? Would you like to see what really comes out?
I suggest running a test sketch that shines led13 whenever the pulse is HIGH.
You drive real slow to start and see if the led goes on and off and how far you go from one pulse to the next.

From here, I don't know if your pulse is being fed to pin 5 and..... whether or not the thing that makes the pulse has its ground connected to the Nano ground. That is debugging wiring.

// Spoiler control test sketch, free to use, by GFS 5/27/18

byte pulsePin = 5;
byte ledPin = 13;

void setup()
{
  pinMode( ledPin, OUTPUT ); 
  pinMode( pulsePin, INPUT );
}

void loop()
{
  digitalWrite( ledPin, digitalRead( pulsePin ));
}