Need basic code to run a motor

Dexter7:
When I run it, the only thing that happens is the LCD shows "MD25 Example V:" and that's all.

If the LCD doesn't show a software version number after "MD25 Example V:" it probably means that it was unable to get the software version number from the driver. I would suspect a bad connection. Re-check all of your wires.