jcrocholl/Marlin — pull request #4 by josefpavlik (2014-03-05 09:33:19+00:00)
Title: Make Z-probe engage and retract sequences configurable from Configuration.h

Hi
I've moved the sequences for z-probe engage/retract to Configuration.h, however the function is usable for another move sequences too (i.e. parking, ooze cleaning etc.).

you can define the sequence:
#define Z_PROBE_DEPLOY_SEQUENCE { {35,72,100},{0,CURPOS,CURPOS,10} }
so the head will be moved to 35,72,100 using default speed and then will go to X=0 with the speed default/10
in the program it's sufficient to call
DO_MOVE_SEQUENCE(Z_PROBE_DEPLOY_SEQUENCE);

also i've added define to allow to invert the Y direction of the bed probing.
#define BED_PROBING_REVERSE_Y