I was using an Arduino Micro to control the keyboard and the mouse, but now it is stuck.
Here are the upload error codes: Arduino: 1.8.12 (Windows 10), Board: "Arduino Micro"
Sketch uses 3958 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes (5%) of dynamic memory, leaving 2411 bytes for local variables. Maximum is 2560 bytes.
C:\Users\Desmond\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\Desmond\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega32u4 -cstk500v1 -PCOM11 -Uflash:w:C:\Users\Desmond\AppData\Local\Temp\arduino_build_658838/Blink.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:\Users\Desmond\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM11
Using Programmer : stk500v1
avrdude: ser_open(): can't open device "\.\COM11": The system cannot find the file specified.
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.
I tried plugging it back into the IDE on my laptop with USB, double-clicking the reset, then uploading a harmless sketch, however, it says there is an upload error.