You might want to post your code.
If you have any "!!!" in your code, that will cause an upload hang in some versions of the Mega.
Serial.println("It works!!!");
You might want to post your code.
If you have any "!!!" in your code, that will cause an upload hang in some versions of the Mega.
Serial.println("It works!!!");