OK, I checked my electronics and they are perfectly fine. I can enable/disable, change direction and step the four steppers if I apply the signals externally. As soon as I plug the Arduino Mega 2560, then none of the steppers work.
Thanks for the pointer to look at pins.h. I am puzzled by the pin numbering scheme and am trying to understand it but cannot find any reference to it. For example, here is a piece of code:
#define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
#define X_MIN_PIN 3
I imagine this is a decimal number and that 54 is the pin that will be cleared/set with the digitalwrite() function. I am not an Arduino guy, so it took me a while this has to do with a number assigned to the resource in the pin mapping as shown in [
arduino.cc]. If so, I also must assume Analog Pin 0 is the same as pin #54. With those assumptions, the signals should be correct.
I am going to try and print something to see if the motors move while printing because with the test window, it is all chaos. Find it hard to believe there is a bug there, but why not?