int start = PB0;
int relay = PB1;



void setup() {
  // put your setup code here, to run once:
pinMode(relay, OUTPUT);
pinMode(start, INPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
if (digitalRead(start) == HIGH){
digitalWrite(relay, HIGH);
delay(1000);
digitalWrite(relay, LOW);
delay(1000);
digitalWrite(relay, HIGH);
delay(1000);
digitalWrite(relay, LOW);
delay(1000);
digitalWrite(relay, HIGH);
delay(1000);
digitalWrite(relay, LOW);
delay(1000);

}

 else {
  digitalWrite(relay, LOW);
 }
}
ATTINY8520PU