Documentación

void loop() {
    digitalWrite(led, HIGH);  // turn the LED on
    delay(500);               // wait for half a second
    digitalWrite(led, LOW);   // turn the LED off
    delay(500);               // wait for half a second
}

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly. 
  This example code is in the public domain.
 */ 
int led0 = 0;   // Corresponde al pin0 (terminal 5) del attyny85  
int led1 = 1;   // Corresponde al pin1 (terminal 6) del attyny85  
int led2 = 2;   // Corresponde al pin2 (terminal 7) del attyny85
int led3 = 3;   // Corresponde al pin3 (terminal 2) del attyny85
int led4 = 4;   // Corresponde al pin4 (terminal 3) del attyny85
// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led0, OUTPUT);
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);
  pinMode(led4, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led0, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(led1, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(led2, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(led3, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(led4, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);               // wait for a second
  digitalWrite(led0, LOW);    // turn the LED off by making the voltage LOW
  digitalWrite(led1, LOW);    // turn the LED off by making the voltage LOW
  digitalWrite(led2, LOW);    // turn the LED off by making the voltage LOW
  digitalWrite(led3, LOW);    // turn the LED off by making the voltage LOW
  digitalWrite(led4, LOW);    // turn the LED off by making the voltage LOW
  delay(50);               // wait for a second
}

Comments