0
\$\begingroup\$

I am talking about Mega 2560 and LCD 1602

When I tried uploading the program, it just gave me these error messages:

avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer

the arduino isn't lighting up or anything either.

\$\endgroup\$
1
\$\begingroup\$

This doesn't look like an error with the LCD or the sketch. The error message means that your Arduino IDE (or rather the underlying avrdude program) cannot connect to the Arduino board. So check you setting and your connections to the board. If this error persist, try to get more information about it, and then ask a more targeted question (which board do you have, how is it connected, can you program it at all, which IDE version do you use, and so on).

\$\endgroup\$
0
\$\begingroup\$

You already have similar open questions. Do some research before posting, you'll find things like:

Arduino Mega2560 can't be programmed via USB

Which suggests a work around and how to provide more advanced debugging info.

\$\endgroup\$
  • \$\begingroup\$ If there are questions very similar to this one you should flag it as "exact duplicate", referring to the duplicate, instead of answering. \$\endgroup\$ – stevenvh Jul 31 '12 at 12:24
  • \$\begingroup\$ @stevenvh I believe I did this, but they lacked the advice/link I provided. \$\endgroup\$ – ElectroNoob Jul 31 '12 at 12:25
  • 1
    \$\begingroup\$ A link on its own is not considered an answer. If you instead detail advice here it can be valuable. Telling people to do research is counterproductive, we want to be the source. \$\endgroup\$ – Kortuk Jul 31 '12 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.