ok my 3d printer nerd friends....

ok my 3d printer nerd friends… so i decided to install the inductive probe to my mendel90 following every step from Tom Sanladerers vid on bed tramming… well, its coming up with an error during the verify and compile… i dont know why… im using marlin V1.0.1 (latest, i think)… so my error:
“Show verbose output during compilation”
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: “Arduino Mega 2560 or Mega ADK”
Marlin_main.cpp: In function ‘void dock_sled(bool, int)’:
Marlin_main.cpp:1289: error: ‘SLED_DOCKING_OFFSET’ was not declared in this scope
Marlin_main.cpp:1293: error: ‘SERVO0_PIN’ was not declared in this scope
Marlin_main.cpp:1299: error: ‘SLED_DOCKING_OFFSET’ was not declared in this scope
Marlin_main.cpp:1302: error: ‘SERVO0_PIN’ was not declared in this scope

this is what arduino was reporting… ANY HELP IS MUCH APPRECIATED!!!

Mind posting your configuration.h somewhere like pastebin?

Also, generally if you can’t find the error - start over. Occasionally it’s as simple as a misplaced semicolon, or a space somewhere it shouldn’t be, or a deleted comma. Often times it’s faster to restart the modification to firmware, than to hunt down the errant syntax.

heres the DL link…https://www.dropbox.com/s/ra9mzwv5q9r07av/ConfigurationABL.h?dl=0

I’ll take a look at it when I have a free moment today.

It looks like you commented the pullup for Z_MIN; Likewise…the Z_MAX is uncommented; the probe is for Z_MIN, not Z_MAX, isn’t it?

I couldn’t find any syntax errors. Are there any more debug lines?

The Z min should be commented in both sections per Tom Sanladerer… the debug lines point to the main.ccp… I’ll post you that file…see if u can see anything I’m missing…

heres the main.ccp file

has anyone found a resolution to my dilema ?

Sorry, I looked and looked. Is this the newest marlin from github?

V1.0.1

OH YEAH! I was looking at that again this morning. Totally forgot. I think I found it!

You look to have deleted the line

#include “boards.h”

at the top of the file.

Check this out: https://www.diffchecker.com/1p7cm96a

It’s a diff from your configuration.h and the mainline marlin configuration.h

I really suggest updating to the GitHub - MarlinFirmware/Marlin: Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine. repo and just starting over.

Ok I’ll add it and see what happens…

From which file… marlin_main.ccp or configuration.h

Ok tried both…there’s a new error saying boards.h does not exist…

Yeah, honestly - start fresh. Start with a brand new Marlin, and compile (verify button) when you change stuff. I can’t seem to find the issue.

Where do I get the latest marlin…all the ones I keep finding are in development… where do I get a stable copy? Erics github and the marlin main github are the only two I know of…

They’re ALWAYS in development. There’s no such thing as “stable” in the 3D printing world.

Yea I suppose…

Thanks for you help

ok so iv DL’d the latest marlin V1.0.2… changed what i needed to change in the config.h file… how ever when i verify i get a new error…
This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: “Arduino Mega 2560 or Mega ADK”
In file included from /Marlin.h:23,
from BlinkM.cpp:5:
/pins.h:2907:2: error: #error Unknown MOTHERBOARD value in configuration.h

here is my entire marlin folder/files
https://www.dropbox.com/sh/gqy26enindl6mez/AAC3mIzsjmrbPtp-UbGQo5Dla?dl=0