I dabble in Arduino & C programming, not an expert.
When I want to do something that may fit an Arduino,
I google something like: "arduino stepper motor" & start reading.
Like:
stepper_oneRevolution.tiff
Or:
http://arduino.cc/en/Reference/Stepper
I poke around in the hits & try to learn & see what code exists that I can steal & modify.
Try to find info on the stepper moror type that you have.
I have never asked a question on the official Arduino site from the true experts.
I don't know their very specific format & rules.
They really beat-up people why don't follow their rules.
They remind me of the Jerry Seinfeld show "Soup Nazi"