An error occurred while uploading the sketch.

Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 1870 bytes (5%) of program storage space. Maximum is 32256 bytes. Global variables use 47 bytes (2%) of dynamic memory, leaving 2001 bytes for local variables. Maximum is 2048 bytes. avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.

Problem uploading to board. See for suggestions.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

"\.\COM1": The system cannot find the file specified Connected? Check it in the device manager.

Thanks it works now