The Control of a Stepper Motor