code for the continuous hall effect chip