Uploading Error

So I get this error when I upload to my board
"avrdude: stk500_getsync(): not in sync: resp=0x00"

but the error is gone when I upload if everything is not plugged in.

Is it possible that any wiring errors cause this
"avrdude: stk500_getsync(): not in sync: resp=0x00"

I have 2 arduino boards and they only upload when everything isn't plugged in.

textdocu.txt (1.91 KB)

What do you have plugged into your Arduino?

I have a servo motor, LCD screen and a push button that's all.

Are any of them plugged into pins 0 or 1? Those pins are used for serial communications, including with the bootloader for programming the board.

Oh, that's awkward, Okay I will change those pins.. Thank you so much