I really need help. I'm trying to learn how to control a 200 step, 1.8 degree stepper motor with an A4988 Stepper Motor driver and arduino. I'm having trouble finding example codes that work at all, or when they do work and something happens, I have no idea if the motor is spinning the way it is supposed to. All of this is making the learning process very difficult.
If anyone has sample code I would really appreciate it! The more the better so I can learn to have full control on the motor and get it to do what I want for many projects I have planned. If you know of any helpful links, I would also be very grateful for those!
I don't know if it is relavent, or if it changes the code, but I am connecting everything through a RAMPS 1.4 motor control board:
http://reprap.org/wiki/RAMPS_1.4Again, I will be grateful for anything that will help me learn and understand how to code the stepper motor!
Thanks in advance.