Hi all i'm trying to use marlin to control a 2 axis drawing machine.
I would like to use two stepper for x and y axis, and a servo instead of the 3rd stepper for move up and down the pen (z axis), just like an on of.
I use the command M280 to control the servo, and it work.
In the beginning of each paths, i put in the gcode a command to raise the pen, then a little delay, then one to move the x-y axis, then a command to lower the pen.
The problem is that marlin execute the command to put the pen down during the x-v movement that should happen with the pen raised by the precedent command.
What can i do, to say him to do it just when the previous command has been performed?
Thanks