- Code: Select all
#define X_STEP_PIN 3
#define X_DIR_PIN 4
#define X_MIN_PIN 5
#define X_MAX_PIN 6
#define X_ENABLE_PIN 15
#define Y_STEP_PIN 7
#define Y_DIR_PIN 8
#define Y_MIN_PIN 9
#define Y_MAX_PIN 10
#define Y_ENABLE_PIN 15
So which of these pins is what on the Adafruit motor shield? I'm using bipolar motors, and there's a motor pin for each wire, but what should these numbers be to drive the shield? I'm assuming that the "ENABLE_PIN" would have nothing to do with the motors since it's default is Analog pin 1. I'm gonna start digging deeper into the firmware sketch to see what I can figure out, but I figured I'd make this post in case anyone has already done this.
Really, I just need the Arduino to interpret G-code and send it out to the motors, it doesn't need to be this particular interpreter, this just seems to be one of the more comprehensive OSS ones already out there. If anyone knows of another one that's designed for a more general purpose that would be helpful since the RepRap one seems to be very purpose-built for their specific machines.
If it comes down to it, I might even just try to build my own interpreter. With the amount of time I just spent building this machine, I'd really just like to get it working as soon as possible, that's why I figured I'd either try to get this one working or see if anyone has any suggestions for a better one for this purpose.
Thanks.

