Hello, I would like you to confirm if I can use digital pins from the Arduino Mega to control Stepper Motors.
I read several forums and they say yes, but they don't explain how to do it. I am a newbie to Arduino.
These are the articles:
This page also explains it simply (in Arduino UNO): https://www.arduino.cc/en/Tutorial/LibraryExamples/StepperSpeedControl
But, the ones on that last page only use a single digital pin which is 8.
I have 12 stepper motors, 3Nm. Arduino Mega. Driver DM542. 4.2 A, 48V.
So I want to use digital pins, because PWM is not enough.