Arduino: 1.8.18 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
Sketch uses 13908 bytes (45%) of program storage space. Maximum is 30720 bytes.
Global variables use 1080 bytes (52%) of dynamic memory, leaving 968 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM3": The semaphore timeout period has expired.
Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.