自分で書いたコードだと最大回転数が遅いので、外部ライブラリを試す。
AdafruitのMotor shield
http://www.ladyada.net/make/mshield/
回路図のダウンロード:https://github.com/adafruit/Adafruit-Motor-Shield-for-Arduino
AFMotorのダウンロード:https://github.com/adafruit/Adafruit-Motor-Shield-library
AccelStepperのダウンロード:https://github.com/adafruit/AccelStepper