A1301 Hall Effect Sensor

What delay? Post all of your code.