Arduino: Arduino Nano ATMega168
Serial Port: COM4
I connected the arduino nano onto a breadboard and connected Digital Pin 11 and Gnd to an LED and then I just used the blink code and then I just changed the pin in the code to 11, and then I selected the serial port COM4 and then selected the Arduino duemilanove, nano etc…168 in the menu and when I press upload, the RX light on the nano blinks a couple of times, and then just after waiting like 30-45 seconds, then it says uploading fail and then gives me this error…
Binary sketch size: 1231 bytes (of a 14336 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Could you please tell me how to get rid of this error and then how I can actually upload the code onto my arduino?