testing P with hall sensor