Honeywell SS495A hall sensor problem reading

The code you posted is not complete. Can you post the complete code? Then we can advise you from the point where you left.

wrt the posted code:

  • I am missing "void loop()" where you process the variables

  • vars in ISR() must be volatile

  • vars in ISR() are best declared unsigned long (counts faster than float, go up to 4 billion++; fits most jobs)