if (ButtonCounter == 1) {
      digitalWrite(Pin1, HIGH);
      delay(1000);
      digitalWrite(Pin1, LOW);
    } else if (ButtonCounter == 2) {
      digitalWrite(Pin2, HIGH);
      delay(1000);
      digitalWrite(Pin2, LOW);
    } else if (ButtonCounter == 3) {
      digitalWrite(Pin3, HIGH);
      delay(1000);
      digitalWrite(Pin3, LOW);
    } else if (ButtonCounter == 4) {
      digitalWrite(Pin1, HIGH);
      digitalWrite(Pin2, HIGH);
      digitalWrite(Pin3, HIGH);
      delay(1000);
      digitalWrite(Pin1, LOW);
      digitalWrite(Pin2, LOW);
      digitalWrite(Pin3, LOW);
      ButtonCounter = 0;