Using Arduino Micro from Arduino Uno

Hi All,

iI am trying to upload my arduino code I wrote for my Arduino Uno. I have already gone to "tools" and changed the device to Arduino Micro.

I'm getting the error message below.

What should I do?

Andrew

processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:130)
at processing.app.debug.Compiler.upload(Compiler.java:157)
at processing.app.Sketch.upload(Sketch.java:1259)
at processing.app.Sketch.exportApplet(Sketch.java:1201)
at processing.app.Sketch.exportApplet(Sketch.java:1173)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2466)
at java.lang.Thread.run(Thread.java:745)
Caused by: processing.app.SerialException: Error touching serial port 'COM1'.
at processing.app.Serial.touchPort(Serial.java:91)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:119)
... 6 more
Caused by: jssc.SerialPortException: Port name - COM1; Method name - openPort(); Exception type - Port not found.
at jssc.SerialPort.openPort(SerialPort.java:167)
at processing.app.Serial.touchPort(Serial.java:86)
... 7 more

The errors mean that your computer is not connecting to the Arduino Micro. Try pressing the reset button a few times and immediately uploading when you do. Or unplugging/plugging the board in, or choose a different port.

You need to select the port of your Arduino Micro from the Tools > Port menu.