//
#define LEDPIN 13
void setup() {
pinMode(LEDPIN,OUTPUT);
}
void loop() {
digitalWrite(LEDPIN, HIGH);
delay(150);
digitalWrite(LEDPIN, LOW);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(150);
digitalWrite(LEDPIN, LOW);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(150);
digitalWrite(LEDPIN, LOW);
delay(100);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(400);
digitalWrite(LEDPIN, LOW);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(400);
digitalWrite(LEDPIN, LOW);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(400);
digitalWrite(LEDPIN, LOW);
delay(100);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(150);
digitalWrite(LEDPIN, LOW);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(150);
digitalWrite(LEDPIN, LOW);
delay(100);
digitalWrite(LEDPIN, HIGH);
delay(150);
digitalWrite(LEDPIN, LOW);
delay(100);
delay(5000);
}
programmed it and it got verified, but it does not upload
the error message says:
problem uploading to board
ovrdude:stk500_getsynk(); attempt 9 of 10; not in sync:resp=0x00
ovrdude:stk500_resv(): programmer is not responding
when making the hardware part we had a problem - the project picture does not coinside with the hardware we have
it says on the card to put one cable in gm; another in 10, but on the board itself there is no gm marker, so we just counted number 2 hole, and if you count holes on the picture, the second cable should go into hole 6, but it is labelled 13, not 10...pardon for such an unprofessional description, but i know nothing about programming... and my son is 9 years old...
thanks in advance for the help!!!