Thanks for the prompt reply mister_e.

As you can see im not familiar at all with hall effect sensors weird thing about the code/schematics I posted is that it somewhat works

I will appreciate any hint on what to do, now that I see the sensor output is digital Im completely lost (pulsin comes to mind)

thanks!