I’ve built and set-up the XY plotter, and it works fine with mDraw.
Now I’d like to write my own code to control the plotter over serial, just like GCodeParser with GRemote. I compiled and uploaded the GCodeParser using Arduino 1.0.6, but the code gets stuck inside goto_machine_zero(). When using Serial Monitor, I see “init”, but it never reaches “ok”.
The stepper motors never move.
I think the problem is with the default values of X_MIN_PIN, X_STEP_PIN, X_DIR_PIN and Y_MIN_PIN, Y_STEP_PIN, Y_DIR_PIN.
How can I find the correct values for these? Is there a wiring diagram available? Any help is greatly appreciated!