Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 2224 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 50 bytes (2%) of dynamic memory, leaving 1998 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Did you enable verbose output and re-compile? There will be more information available. The code compiles but fails to upload. Are you sure that you have the right board and serial port in Tools?
The advice to use verbose output is good but the message is wrong. You need to enable verbose output during upload, not compilation. Verbose output during compilation is not useful in this case and will actually just clutter up the console window. I've been meaning to report this bug to the Arduino developers but couldn't reproduce it when I last tried.