controlling stepper motor using audrino

Hi,
I am having problem in writing the program for controlling a stepper motor. Actually i am trying to control a stepper motor by calculating the error between a desired and measured value and hence controlling the motor minimizing the error.Need some help.

Barasha

What have you tried so far?- do you have the stepper working at all and are struggling with the control strategy or have you not yet got it running?

Have you read this yet?