I am using a Arduino Motor R3 Shield with ATMega to run a stepper motor. But the shield is heating too much really quickly and the serial monitor and the arduino hangs for a while. I am using the following code and the header files to run the motor. I have substituted the standard stepper library a bit to use it for the shield. As I am new to arduino so please check it for any errors. Thanks in advance.
void stepm(long speed1)
stepper_specifications.pdf (61.6 KB)
Steppershield.h (502 Bytes)
Steppershield.cpp (1.91 KB)