Hello Robin2,
Thanks for your reply. Your information has been very helpful. I used your Simple Stepper Code example and changed the pins to match the direction and step. I had to add pinMode(8, OUTPUT); digitalWrite(8, LOW); in order to enable the stepper on the gShield. Works great. Step one complete.
Step two: I was wanting to control two steppers (XY) and make a claw type game for some students. You know, that game where you spend $50 trying to claw an item that costs $5. lol Basically an analog joystick so I can control X and Y. My problem is I'm not sure how to implement the joystick. I am guessing I can do an analog read from from the pin and map it to 1-255 and use 128 for center. If I move joystick to one side, it should step the motor, but not sure how to implement it.
Hardware: MEGA 2560, gShield, Stepper, Power supply
Variable speed would be nice and probably the end goal but for now, I just want the motors to step in the direction.
boB