Loading...
Pages: [1]   Go Down
Author Topic: Lilypad Program Help Needed  (Read 215 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */

void setup() {               
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(5, OUTPUT);     
}

void loop() {
  digitalWrite(5, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(5, LOW);    // set the LED off
  delay(1000);              // wait for a second
}


I have tried this program on multiple occasions and i have tried different computer ports, boards, and different pin numbers. However, the LED continues to not blink.
 Thank you for your help.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The program prints the error : avrdude: stk500_getsync(): not in sync: resp=0x00
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */

void setup() {               
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(5, OUTPUT);     
}

void loop() {
  digitalWrite(5, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(5, LOW);    // set the LED off
  delay(1000);              // wait for a second
}

The program prints the error : avrdude: stk500_getsync(): not in sync: resp=0x00

I have tried this program on multiple occasions and i have tried different computer ports, boards, and different pin numbers. However, the LED continues to not blink.
 Thank you for your help.

Logged

Global Moderator
Melbourne, Australia
Offline Offline
Shannon Member
*****
Karma: 218
Posts: 13896
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The message is telling you your program did not upload. Check out the troubleshooting section for uploading sketches.
Logged


Pages: [1]   Go Up
Print
 
Jump to: