{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5213","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5213/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5213/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5213/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/5213","id":188961158,"number":5213,"title":"need help with autobedleveling","user":{"login":"kaliboe","id":23415386,"avatar_url":"https://avatars.githubusercontent.com/u/23415386?v=3","gravatar_id":"","url":"https://api.github.com/users/kaliboe","html_url":"https://github.com/kaliboe","followers_url":"https://api.github.com/users/kaliboe/followers","following_url":"https://api.github.com/users/kaliboe/following{/other_user}","gists_url":"https://api.github.com/users/kaliboe/gists{/gist_id}","starred_url":"https://api.github.com/users/kaliboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaliboe/subscriptions","organizations_url":"https://api.github.com/users/kaliboe/orgs","repos_url":"https://api.github.com/users/kaliboe/repos","events_url":"https://api.github.com/users/kaliboe/events{/privacy}","received_events_url":"https://api.github.com/users/kaliboe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-13T09:35:18Z","updated_at":"2016-11-13T20:47:10Z","closed_at":null,"body":"hi, I am a rookie trying to learn and configure the autobedleveling on my printer.\r\nI have started from scratch to configure the marlin firmware because I did not had any information from my printer. Now I connected a servo arm with micro-switch. When I send a G28 all works fine, the arm lowers and stops the extruder from lowering. Because I am a rookie I search the internet for sollutions, I follow this guy's tutorial from youtube https://www.youtube.com/watch?v=YpiOsetkIRg (I know it's 3years old) so I enter my measurements like the guy explant in the video. Now I cannot upload it to me printer, I receive this error messages\r\n\r\n`Arduino: 1.6.8 (Windows 10), Board: \"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)\"\r\n\r\nIn file included from sketch\\Marlin.ino.cpp:1:0:\r\n\r\nConfiguration.h:479: error: floating constant in preprocessor expression\r\n\r\n #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:85:24: note: in definition of macro 'max'\r\n\r\n #define max(a,b) ((a)>(b)?(a):(b))\r\n\r\n                        ^\r\n\r\nsketch\\Conditionals_post.h:158:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:403:37: note: in expansion of macro 'MIN_PROBE_X'\r\n\r\n       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X\r\n\r\n                                     ^\r\n\r\nConfiguration.h:479: error: floating constant in preprocessor expression\r\n\r\n #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:85:32: note: in definition of macro 'max'\r\n\r\n #define max(a,b) ((a)>(b)?(a):(b))\r\n\r\n                                ^\r\n\r\nsketch\\Conditionals_post.h:158:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:403:37: note: in expansion of macro 'MIN_PROBE_X'\r\n\r\n       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X\r\n\r\n                                     ^\r\n\r\nConfiguration.h:479: error: floating constant in preprocessor expression\r\n\r\n #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:84:24: note: in definition of macro 'min'\r\n\r\n #define min(a,b) ((a)<(b)?(a):(b))\r\n\r\n                        ^\r\n\r\nsketch\\Conditionals_post.h:159:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:405:40: note: in expansion of macro 'MAX_PROBE_X'\r\n\r\n       #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X\r\n\r\n                                        ^\r\n\r\nConfiguration.h:479: error: floating constant in preprocessor expression\r\n\r\n #define X_PROBE_OFFSET_FROM_EXTRUDER 25.00  // X offset: -left  +right  [of the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:84:32: note: in definition of macro 'min'\r\n\r\n #define min(a,b) ((a)<(b)?(a):(b))\r\n\r\n                                ^\r\n\r\nsketch\\Conditionals_post.h:159:51: note: in expansion of macro 'X_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:405:40: note: in expansion of macro 'MAX_PROBE_X'\r\n\r\n       #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X\r\n\r\n                                        ^\r\n\r\nConfiguration.h:480: error: floating constant in preprocessor expression\r\n\r\n #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:85:24: note: in definition of macro 'max'\r\n\r\n #define max(a,b) ((a)>(b)?(a):(b))\r\n\r\n                        ^\r\n\r\nsketch\\Conditionals_post.h:160:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:407:40: note: in expansion of macro 'MIN_PROBE_Y'\r\n\r\n       #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y\r\n\r\n                                        ^\r\n\r\nConfiguration.h:480: error: floating constant in preprocessor expression\r\n\r\n #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:85:32: note: in definition of macro 'max'\r\n\r\n #define max(a,b) ((a)>(b)?(a):(b))\r\n\r\n                                ^\r\n\r\nsketch\\Conditionals_post.h:160:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:407:40: note: in expansion of macro 'MIN_PROBE_Y'\r\n\r\n       #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y\r\n\r\n                                        ^\r\n\r\nConfiguration.h:480: error: floating constant in preprocessor expression\r\n\r\n #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:84:24: note: in definition of macro 'min'\r\n\r\n #define min(a,b) ((a)<(b)?(a):(b))\r\n\r\n                        ^\r\n\r\nsketch\\Conditionals_post.h:161:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:409:39: note: in expansion of macro 'MAX_PROBE_Y'\r\n\r\n       #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y\r\n\r\n                                       ^\r\n\r\nConfiguration.h:480: error: floating constant in preprocessor expression\r\n\r\n #define Y_PROBE_OFFSET_FROM_EXTRUDER 16.00  // Y offset: -front +behind [the nozzle]\r\n\r\n                                      ^\r\n\r\nC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino/Arduino.h:84:32: note: in definition of macro 'min'\r\n\r\n #define min(a,b) ((a)<(b)?(a):(b))\r\n\r\n                                ^\r\n\r\nsketch\\Conditionals_post.h:161:51: note: in expansion of macro 'Y_PROBE_OFFSET_FROM_EXTRUDER'\r\n\r\n   #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))\r\n\r\n                                                   ^\r\n\r\nsketch\\SanityCheck.h:409:39: note: in expansion of macro 'MAX_PROBE_Y'\r\n\r\n       #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y\r\n\r\n                                       ^\r\n\r\nexit status 1\r\nfloating constant in preprocessor expression\r\n\r\nThis report would have more information with\r\n\"Show verbose output during compilation\"\r\noption enabled in File -> Preferences.\r\n`\r\ncan somebody help me further with my problem?\r\nhere is the link to my configuration.h file [http://www.kalidesign.be/marlin/Configuration.h](url)"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/260211543","html_url":"https://github.com/MarlinFirmware/Marlin/issues/5213#issuecomment-260211543","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/5213","id":260211543,"user":{"login":"kaliboe","id":23415386,"avatar_url":"https://avatars.githubusercontent.com/u/23415386?v=3","gravatar_id":"","url":"https://api.github.com/users/kaliboe","html_url":"https://github.com/kaliboe","followers_url":"https://api.github.com/users/kaliboe/followers","following_url":"https://api.github.com/users/kaliboe/following{/other_user}","gists_url":"https://api.github.com/users/kaliboe/gists{/gist_id}","starred_url":"https://api.github.com/users/kaliboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaliboe/subscriptions","organizations_url":"https://api.github.com/users/kaliboe/orgs","repos_url":"https://api.github.com/users/kaliboe/repos","events_url":"https://api.github.com/users/kaliboe/events{/privacy}","received_events_url":"https://api.github.com/users/kaliboe/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T20:47:10Z","updated_at":"2016-11-13T20:47:10Z","body":"Auto bed levelling is working now but I find that the nozzle is a little bit to high from the nozzle.\r\nWhere can I adjust this setting in the configuration.h file ?\r\nThanks in advance"}}
{"actor":{"display_login":"kaliboe"}}