wherein the motor windings are switched from series to parallel or vice-versa to control speed or torque