I bought an Arduino Starter Kit from Amazon (https://www.amazon.com/gp/product/B009UKZV0A/) almost two weeks ago. It comes with an Arduino Uno R3 board. I’m using a Windows 8.1 64-bit computer.
I downloaded the Arduino IDE 1.8.1 from their website. I plugged in the board with the included USB cable. I was able to upload the example Blink sketch and even fiddle with the delay times to make the light blink faster. I then followed along through lesson 1 in the included book, which was fun.
A few days later I started to go through lesson 2. I assembled everything on the board, then typed up the sketch as written in the book. When I clicked upload, I received the error
Sketch uses 1220 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 11 bytes (0%) of dynamic memory, leaving 2037 bytes for local variables. Maximum is 2048 bytes.
avrdude: verification error, first mismatch at byte 0x0002
0x5c != 0x61
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch
I tried uploading the Blink sketch again to test the problem. When I upload the default sketch, it goes through without a problem. When I try to change the delay values and upload again, roughly the same error pops up.
Sketch uses 926 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: verification error, first mismatch at byte 0x0042
0x15 != 0x14
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch
I searched online for this error, and read through many posts on this forum from people who had the same error. I didn’t find anyone who had the exact same situation as me and was able to get the problem resolved, however. I’ve also read the Troubleshooting guide and couldn’t find anything that seemed to pertain to this problem. I tried using a different USB port and nothing changed. I tried using Upload Using Programmer, and received the unhelpful error
An error occurred while uploading the sketch
I’m not super tech-savvy and the only thing I know about electronics is what I’ve read in the first 50 or so pages of the book from this kit. I’m hoping to get this problem resolved so that I can continue to learn electronics and programming. Let me know if you need any additional information. Thank you for any help you can provide.