Hall effect sensors

The first output seems to have stable timing, 101 milliseconds on average. (OK change the code to have >=100)

Can you tell how you connected the hardware?
Do you use a pullup/pulldown resistor?