Lilypad Program Troubleshoot

/*
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.
The program prints the error : avrdude: stk500_getsync(): not in sync: resp=0x00

That error message means that your PC is unable to contact the bootloader on your Lillypad. What exact hardware are you using? Are you sure you have the right Board and Serial Port selected?