Hall sensor simulation

Hi,

the rpms in this calculation is based on an other shaft in a gearbox like setup. Cannot give more details.
Currently made a setup with TaskScheduler. Running one task per pulse and set the intervals with serial input. Need to wire up and test.