I have a long code but I can post it if you'd like.
This is what I have before the void loop
void setup(){
// SERIAL PORTS\
Serial.begin(115200); // Open serial port\
Serial1.begin(115200); // Open serial port\
// PAN/TILT\
PanServo.attach(PanPin); // Attach panServo to pin\
PanServo.write(PanAngle); // Initialize panServo to 90\
// WHEELS\
pinMode(LWheel,OUTPUT); // Sets the pin as output\
pinMode(RWheel,OUTPUT); // Sets the pin as output\
analogWrite(LWheel,LWheelPWM); // Initialize LeftWheel to PWM 128\
analogWrite(RWheel,RWheelPWM); // Initialize RightWheel to PWM 128\
}
Not trying to "bump" this again, but in all seriousness, that is technically okay syntax. Is that a known compiler issue? Using Microsoft Visual Studio, it works fine. It's just an odd error that pops up.
I mainly use Visual Studio for C++ and it works in there
That is quite hard to understand - the backslash operator is used a lot in long preprocessor macros, and if it doesn't work here, then there must be some big question marks over the compiler.
What happens if you compile this?
int main (int argc, char** argv)
{
// This comment should cause the compilation to fail \
}