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
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.