A state machine includes a stator assembly arranged to generate a rotating electromagnetic field in response to a control signal and a rotor assembly, positioned adjacent to the stator assembly, arranged to rotate in response to the rotating electromagnetic field. A sensor is…