Arduino hall effect sensor with interrupts