I have no idea why I am getting this error. I am trying to upload one of the example codes onto my Arduino. I turned on verbose shown below.
"Sketch uses 3012 bytes (9%) of program storage space. Maximum is 32256 bytes.
Global variables use 200 bytes (9%) of dynamic memory, leaving 1848 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM1 -b115200 -D -Uflash:w:C:\Users\Dev\AppData\Local\Temp\arduino_build_732127/ReadAnalogVoltage1.ino.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM1
Using Programmer : arduino
Overriding Baud Rate : 115200
An error occurred while uploading the sketch"
I open my IDE from the start up menu which is a possible solution I have come across. I have also vary the upload speed to no avail. Any suggestions would be appreciated.