Hi guys
I'm using Repetier v1.0.0dev and it works fine after to compile at Arduino IDE in Ubuntu 16.04 LTS.
I have tried to configure Probe for Auto Bed Leveling using servo, as follows:
#define Z_PROBE_START_SCRIPT "M340 P0 S1300"
#define Z_PROBE_FINISHED_SCRIPT "M340 P0 S500"
and it works fine.
I would like to use Z_PROBE_START_SCRIPT and Z_PROBE_FINISHED_SCRIPT to turn off the servo during probing after be positioned, to avoid noisy movements.
But when I try to use Z_PROBE_START_SCRIPT or Z_PROBE_FINISHED_SCRIPT with multiple commands, it does not work.
I have already tried all these options with no success:
#define Z_PROBE_START_SCRIPT "M340 P0 S1300\nM340 P0 S0\n"
#define Z_PROBE_FINISHED_SCRIPT "M340 P0 S500\nM340 P0 S0\n"
#define Z_PROBE_START_SCRIPT "M340 P0 S1300\n\rM340 P0 S0\n\r"
#define Z_PROBE_FINISHED_SCRIPT "M340 P0 S500\n\rM340 P0 S0\n\r"
#define Z_PROBE_START_SCRIPT "M340 P0 S1300\rM340 P0 S0\r"
#define Z_PROBE_FINISHED_SCRIPT "M340 P0 S500\rM340 P0 S0\r"
My doubts are:
1) Should I really use '\n' to separate multiple commands at Z_PROBE_START_SCRIPT and Z_PROBE_FINISHED_SCRIPT ?
2) Does the answer to the question above works to compile at Arduino IDE in any OS: Linux, Windows, and Mac OS?
Thanks in advance for any help.
Romulo