Hi Everyone,
I am very new and inexperienced with Arduino IDE and coding in general, so please forgive my lack of knowledge.
I have installed a Ramps 1.4/Arduino 2560 kit with reprap discount graphic controller to my Printrbot Simple Metal and Im trying to compile firmware for this board. I spent 3 weeks working on Marlin error messages and have given up and moved on to Repetier. I have used the online Repetier configuration tool and on my second attempt I am having the following error message on Arduino IDE when attempting to compile.
Arduino: 1.8.15 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from C:\Users\Geoffrey\Desktop\3D Modeling and Printing Software\Firmware Files for Printrbot with Ramps 1.4\Repetier-Firmware\Repetier\Configuration.h:41:0,
from C:\Users\Geoffrey\Desktop\3D Modeling and Printing Software\Firmware Files for Printrbot with Ramps 1.4\Repetier-Firmware\Repetier\Repetier.h:198,
from C:\Users\Geoffrey\Desktop\3D Modeling and Printing Software\Firmware Files for Printrbot with Ramps 1.4\Repetier-Firmware\Repetier\Repetier.ino:151:
pins.h:395:24: error: missing binary operator before token "18"
#define ORIG_Z_MIN_PIN 18
^
C:\Users\Geoffrey\Desktop\3D Modeling and Printing Software\Firmware Files for Printrbot with Ramps 1.4\Repetier-Firmware\Repetier\Repetier.h:264:36: note: in expansion of macro 'ORIG_Z_MIN_PIN'
#if FEATURE_Z_PROBE && Z_PROBE_PIN ORIG_Z_MIN_PIN
^
exit status 1
missing binary operator before token "18"
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I opened the pins.h file and I dont see any obvious errors, but Im not too knowledgeable with this stuff. I deleted the line of code in question and retyped it with no success. I also need to know how to fix the z probe issue. I am using an inductive sensor as the z probe and its using the z min pin connector on the Ramps 1.4.
Apparently I cannot upload the file into this post because Im a new user. Can someone let me know the appropriate way to add this file so that you all may see it? thanks