// ATtiny85 Blink!

#define LED_PIN0 PB0
#define LED_PIN1 PB2
#define x0 PB1
void setup() {
pinMode(LED_PIN0, OUTPUT);
pinMode(LED_PIN1, OUTPUT);
pinMode(x0, INPUT);
}

void loop() {
  if(digitalRead(X0)=HIGH)
  {
  digitalWrite(LED_PIN0, HIGH);
  delay(1000);
  digitalWrite(LED_PIN0, LOW);
  delay(1000);
   digitalWrite(LED_PIN2, HIGH);
  delay(1000);
  digitalWrite(LED_PIN2, LOW);
  delay(1000);
  }
}
}
ATTINY8520PU