So I messed up. I'm trying to build a macro keyboard using an Arduino Micro, and I uploaded a short bit of code for testing that should have pressed and held a key while a switch was pressed, and released the key otherwise. I didn't think this through very well before uploading my code to the Micro, and there was a mistake in my code. Now while the Micro is plugged into my PC via USB it continuously hits my 'a' key. I tried reuploading an empty sketch, but while trying to upload the code the Arduino takes over and tries to type infinite 'a's all over my sketch. I opened notepad thinking that I could press upload and then immediately click in the notepad so that all of the 'a's were typed in a throw-away note instead. This seemed to work, but then the upload never completes. I don't get an error message or anything unless I unplug the board or reset it while the IDE is trying to upload the code. The IDE just shows that it is uploading code indefinitely.
Does anyone know how I can get around this issue and flash a blank sketch to my Arduino so I can upload new code that isn't broken?
Thank you in advanced!