Not Reaching Full RPM's with Stepper Motor and Arduino Uno

johnwasser's suggestion is easy to implement using the AccelStepper library.