Aw, crap. That's right "N" is reserved for line number. That explains the error mentioned above. My apologies, "n" is correct. Thanks for the reminder Roxy.
Printable View
Aw, crap. That's right "N" is reserved for line number. That explains the error mentioned above. My apologies, "n" is correct. Thanks for the reminder Roxy.
I also tried lower case n and it didn't work either. I'm gonna go to bed now but thank you guys so much for taking the time to help me try and work this out, sorry for all this trouble I know it's frustrating helping out a noob haha.
Doing a 3x3, 4x4, or 5x5 grid on a 8x12 bed will work just the same as on a 8x8 bed, only the Y points will be spaced further apart. ABL will still work, even if you don't have more Y probe points.
I downloaded it and made the necessary changes in configuration.h but I get an error when I try to upload it.
Quote:
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.
This is a common error people make. You are not allowed to use floating point numbers in the C preprocessor. The lines you updated:
#define Y_PROBE_OFFSET_FROM_EXTRUDER -9.00
should look like:
#define Y_PROBE_OFFSET_FROM_EXTRUDER -9
No Floating Point numbers!!!!
ohhhh
haha thanks
edit: That worked but why was -9.00 working on my previous version of Marlin? Also, how am I supposed to write the positions for Z and X?
After I flashed to the new version my LCD just has square blocks now, am I supposed to define which LCD I am using in one of the files?
Thanks.
Oh wait! I gave you bad advice. You can #define floating point numbers. You just can't use them in #if preprocessor blocks. And yes, you have to configure the type of LCD display you have in Configuration.h for it to be used.
Sorry for the late reply, been busy with work related crap :/
Yeah I'm pretty sure they are #define point numbers so it should work, right? They aren't in an #if block
#define X_PROBE_OFFSET_FROM_EXTRUDER 29.20
#define Y_PROBE_OFFSET_FROM_EXTRUDER -9.00
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.60
In the error output.... It was complaining about floating point numbers being used in an #if
#if ((Y_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION))