Results 21 to 30 of 34
-
04-26-2015, 12:02 PM #21
- Join Date
- Mar 2015
- Location
- Palo Alto
- Posts
- 63
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.
-
04-26-2015, 12:19 PM #22
-
04-26-2015, 12:56 PM #23
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
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.
-
04-27-2015, 01:39 AM #24
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.
-
04-27-2015, 08:47 AM #25
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!!!!
-
04-27-2015, 09:23 AM #26
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.Last edited by TehStranger; 04-27-2015 at 09:40 AM.
-
04-27-2015, 11:22 AM #27
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.
Last edited by Roxy; 04-27-2015 at 11:30 AM.
-
04-28-2015, 04:11 AM #28
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
-
04-28-2015, 09:14 AM #29
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))
-
04-28-2015, 09:40 AM #30
Printer will print perfect...
06-14-2024, 10:44 AM in Tips, Tricks and Tech Help