Trying to upload a new code onto my Arduino Uno from new computer (computer I haven't used before) however I keep getting error messages. The code compiles so I know that this works.
Sketch uses 1574 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 10 bytes (0%) of dynamic memory, leaving 2038 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.
]
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x21
Sketch uses 1574 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 10 bytes (0%) of dynamic memory, leaving 2038 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\ENGSUP~1\AppData\Local\Temp\arduino_build_902530/Flower.ino.hex:i
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
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
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Zozo26:
I clicked the code tag option like you asked me to so im not sure why it didn't do what you asked.
You can spend some time playing with the forum markup and clicking the "Preview" button to see what happens. If all else fails you can easily add the markup manually:
[code]``[color=blue]// your code is here[/color]``[/code]
Zozo26:
I clicked tools, ports, com1 and com 2, ive tried both
Try this:
With the Arduino board unplugged from the USB open the Tools > Port menu and note the listed ports.
Close the Tools > Port menu.
Plug in the USB cable on the Arduino board
Wait a little while for the Arduino board to connect
Open Tools > Port, the new port on the list is your Arduino board.