Cannot Upload fade

I tried to upload the "fade" sketch and received the message below. What do I do next?

vrdude: ser_open(): can't open device "COM1": No such file or directory ioctl("TIOCMGET"): Inappropriate ioctl for device Problem uploading to board. See for suggestions.

I'm new at this and not very knowledgeable.


Looks like the wrong serial port is selected under Tools->Port

To get help, you must show us your complete sketch. Attach your code using the </> icon on the left side of the posting menu.

Make sure you always select the correct serial port and the correct Arduino board prior to uploading your sketches.
You do this from the IDE tools tab.