Got hall effect sensor working