Hey Everyone,
I have had the arduino for a year now and have not had a problem like this I believe. I use a macbook pro by the way( if that helps). It started today when I went to upload some corrections to some LCD display code for my new robot and it stopped working (I will post the code below). The code passed by the verification without issues and the code had uploaded before but I just wanted to change the pins and it stopped working. If you need these details the piezo speaker I plugged into pin 9 had been beeping off and on and the LEDs connected to pins 13 and 12 had been blinking as well, which I thought was strange. I tried everything but nothing has worked. It keeps displaying: avrdude: stk500_recv(): programmer is not responding. I Tried updating the arduino software, using a different computer (a macbook air), etc. The serial monitor does work so I think serial communication is a go. Here is the code if it helps (again: has been verified as OK by IDE):
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
}
void loop() {
// Turn off the display:
lcd.noDisplay();
delay(500);
// Turn on the display:
lcd.print("Hello world!");
delay(500);
lcd.display();
delay(500);
lcd.print("I hope you, Enjoy the tea");
delay(500);
lcd.display();
delay(500);
lcd.print("Would you like, some tea?");
delay(500);
lcd.display();
lcd.print("I'm sorry but I, can't let you do that");
lcd.display();
lcd.print("I am only, kidding");
lcd.display();
lcd.print("Teehee");
lcd.display();
}
I really want to get my robot working so if anyone has any ideas I am open to just about anything. Thanks!
-Arduinoroboticist