God damn it.... guess how's the biggest idiot in this forum. Hint: It's me! :P
I was searching through the code to find anything that could be wrong when the sendMotorCmd function catches my attention again. It's not working with the "Arduino Pins" which get initiated in the setup routin. It's communicating directly to the ports PORTD and PORTB. And quess what: On the Mega the pins initiated for the steps and directions (pin 4 - 11) are not located on these ports. They are located on PORTF and PORTK -_-
So back to an trusty Arduino Uno the motors are working.....
I was searching through the code to find anything that could be wrong when the sendMotorCmd function catches my attention again. It's not working with the "Arduino Pins" which get initiated in the setup routin. It's communicating directly to the ports PORTD and PORTB. And quess what: On the Mega the pins initiated for the steps and directions (pin 4 - 11) are not located on these ports. They are located on PORTF and PORTK -_-
So back to an trusty Arduino Uno the motors are working.....