the firmware doesnt compile for some reason, giving wierd errors and stuff... here is a copy of the error list, and thank you for your help
FiveD_GCode_Interpreter.cpp:913:18: error: operator '!=' has no left operand
In file included from FiveD_GCode_Interpreter.cpp:9:
/hostcom.h: In member function 'void hostcom::putInit()':
hostcom.h:111: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const char*)':
hostcom.h:112: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const float&)':
hostcom.h:113: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const long int&)':
hostcom.h:114: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(int)':
hostcom.h:115: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(double)':
hostcom.h:116: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put()':
hostcom.h:117: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::putEnd()':
hostcom.h:118: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::putWs()':
hostcom.h:119: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'byte hostcom::gotData()':
hostcom.h:120: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'char hostcom::get()':
hostcom.h:121: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::sendMessage(bool)':
hostcom.h:300: error: 'BED_TEMP_SENSOR' was not declared in this scope
hostcom.h:301: error: expected primary-expression before '==' token
hostcom.h:303: error: expected primary-expression before '==' token
hostcom.h:308: error: expected primary-expression before '==' token
hostcom.h:314: error: 'ENABLE_LINES' was not declared in this scope
In file included from FiveD_GCode_Interpreter.cpp:16:
/cartesian_dda.h: In member function 'bool cartesian_dda::xCanStep(long int, long int, bool)':
cartesian_dda.h:213: error: 'zeroHit' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::yCanStep(long int, long int, bool)':
cartesian_dda.h:281: error: 'zeroHit' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::zCanStep(long int, long int, bool)':
cartesian_dda.h:348: error: 'zeroHit' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void setup()':
FiveD_GCode_Interpreter:236: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void shutdown()':
FiveD_GCode_Interpreter:275: error: 'heatedBed' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void manage()':
FiveD_GCode_Interpreter:299: error: 'heatedBed' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void validate_hardware()':
FiveD_GCode_Interpreter:320: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:327: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:331: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:332: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:334: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:335: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:337: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:338: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:342: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:347: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:349: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:352: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter.cpp: At global scope:
bed:10: error: 'BED_HEATER_PIN' was not declared in this scope
bed:10: error: 'BED_TEMPERATURE_PIN' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In member function 'bool intercom::talk()':
intercom:55: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In member function 'void intercom::tick()':
intercom:176: error: 'Serial1' was not declared in this scope
intercom:209: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In constructor 'PIDcontrol:

IDcontrol(byte, byte, bool)':
pid:18: error: 'B_TEMP_PID_BAND' was not declared in this scope
pid:24: error: 'E_TEMP_PID_BAND' was not declared in this scope