I am running two stepping motors with an application. First one motor runs, then the second. I am using the PRODRIVER_MODE_SERIAL. When I run the application the first motor always runs but the second motor does not run all the time. I added a Serial.ptintln to the motor sequence and it shows that the stepSerial for the second motor is firing.
What could be the issue here? As I said this happens intermittently.
Actually I just found the issue. My application was broken into various functions and the second motor didn’t seem to like that. I rewrote the application so that the motor sequence was all in one function and the issue disappeared.
Well thought I had it solved, but no. Both motors are on the same power source but only 1 motor runs at a time. The only thing I can think of trying is to run the second motor on custom pins and not in serial mode.