Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup (for example, the italics in your code above), leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. If your browser doesn't show the posting toolbar then you can just manually add the code tags:
[code]``[color=blue]// your code is here[/color]``[/code]
Using code tags and other important information is explained in the How to use this forum post. Please read it.
joeltetava:
I can get the step motor to work, but when I change the stepsPerRevolution to a higher amount, the motor just vibrates
What is the value of stepsPerRevolution when it works?
What is the value of stepsPerRevolution when it doesn't work?