2 errors when uploading to board:

Hey! I'm very new to arduino and ive been trying to upload to the board, but i sometimes get this error:
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

Or i get this:

"COM2 Busy" something like that.

Does the wiring do anything cause im trying to create a serial connection that basically makes the board send "Hello World!". Because I myself cant find anything wrong in my code. I'll send it anyways.

void setup() {
  // put your setup code here, to run once:
  
  Serial.begin(9600);
  
  //open a serial connection in 9600 baud
 
}

void loop() {
  // put your main code here, to run repeatedly:

  Serial.println("Hello World!");
  delay(1000);
    
}

Please do this:

  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the toolbar).

arcuno:
Does the wiring do anything

Yes, wiring can cause an upload to fail. If you connect anything to pins 0 and 1 of an Arduino board that has Serial on those pins it can interfere with the upload because those pins are used to connect the microcontroller to your computer.