Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
Sketch uses 1958 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 223 bytes (10%) of dynamic memory, leaving 1825 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\Shahzad\AppData\Local\Temp\arduino_build_605373/relay-led.ino.hex:i
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "\\.\COM3": The semaphore timeout period has expired.
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Do you have a question?
yes !!! when ever i upload code to board it gives mean error. I change serial port to resolve the issue also set the preference upload setting but doesn't get the desire result . Please let me know what to do next?
Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.
Continued cross posting could result in a time out from the forum.
Could you also take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum in the future.
Other general help and troubleshooting advice can be found here.
sorry for that sir. I will make it sure not to waste your time. I tried all possible solution regarding to this but I can't solve my problem.
You may have something else connected to that con port ( eg a blue tooth device, printer whatever ) or the Arduino isn’t actually on that port .
Unplug it / plug it in and see which port disappears /appears in tools/port menu to correctly identify the port .