Quote Originally Posted by Roxy View Post
Go get the latest 'Release' version of Marlin from GitHub: https://github.com/MarlinFirmware/Marlin (Do not grab the development version which is more 'current' than the last Release version!)

Go find this code in Marlin_main.cpp. This code controls the probing across both the X and Y axis. Change it to be what ever you desire it does:

Code:
      for (int yProbe = front_probe_bed_position; yProbe <= back_probe_bed_position; yProbe += yGridSpacing) {
        int xProbe, xInc;


        if (zig)
          xProbe = left_probe_bed_position, xInc = xGridSpacing;
        else
          xProbe = right_probe_bed_position, xInc = -xGridSpacing;


        // If topo_flag is set then don't zig-zag. Just scan in one direction.
        // This gets the probe points in more readable order.
        if (!topo_flag) zig = !zig;


        for (int xCount = 0; xCount < auto_bed_leveling_grid_points; xCount++) {
          // raise extruder
          float measured_z,
                z_before = probePointCounter == 0 ? Z_RAISE_BEFORE_PROBING : current_position[Z_AXIS] + Z_RAISE_BETWEEN_PROBINGS;
I downloaded it and made the necessary changes in configuration.h but I get an error when I try to upload it.

Arduino: 1.6.1 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"


In file included from Marlin.h:22:0, from BlinkM.cpp:5: Configuration.h:397:40: error: floating constant in preprocessor expression #define X_PROBE_OFFSET_FROM_EXTRUDER 29.20 ^ Configuration.h:437:9: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER' #if X_PROBE_OFFSET_FROM_EXTRUDER < 0 ^ Configuration.h:397:40: error: floating constant in preprocessor expression #define X_PROBE_OFFSET_FROM_EXTRUDER 29.20 ^ Configuration.h:442:13: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER' #if ((X_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION)) ^ Configuration.h:398:41: error: floating constant in preprocessor expression #define Y_PROBE_OFFSET_FROM_EXTRUDER -9.00 ^ Configuration.h:446:9: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER' #if Y_PROBE_OFFSET_FROM_EXTRUDER < 0 ^ Configuration.h:398:41: error: floating constant in preprocessor expression #define Y_PROBE_OFFSET_FROM_EXTRUDER -9.00 ^ Configuration.h:451:13: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER' #if ((Y_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION)) ^ Error compiling.


This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.