Starting from my Arduino Uno and Motor Shield Rev3 (
store.arduino.cc/arduino-motor-shield-rev3
) I have decided that it is better to upload into Arduino the existing and available software
github.com/TallFurryMan/moonduino
. that include the library AccelStepper (
www.airspayce.com/mikem/arduino/AccelStepper/
) . The question is: will my hardware work with this library without damages considering that all projects I see in the web have a different HW configuration? Are these setting right ?
#define PIN_OUTPUT_MOTOR1 2 //PWM A
#define PIN_OUTPUT_MOTOR2 3 //PWM B
#define PIN_OUTPUT_MOTOR3 4 //direction A
#define PIN_OUTPUT_MOTOR4 5 // direction B