unsigned int i;
void setup() {
  DDRB= 0xFF;
}

void loop() {
  PORTB= 0x01;
  delay(5000);
  for(i=0; i<3; i++)
  {
    PORTB= 0x02;
    delay(500);
    PORTB= 0x00;
    delay(500);
  }
  PORTB= 0x04;
  delay(5000);
}