I wrote some code, the Arduino IDE compiled it and started with the upload process, but in the middle of the upload it gets stuck!
I was able to isulate the error to this line of code:
Serial.println("!!!")
If you add this line anywhere in your Code it won't upload...
Serial.println("sth. !!! sth.");
won't upload as well, but const char x[] = "!!!";Serial.println(x);
will compile and upload.
Tested on Windows 10, Arduino IDE 1.6.5 & 1.8, with an Arduino Mega 2560.
Can someone pls fix this ASAP.