#define LED_PIN 10

void setup() {
  // put your setup code here, to run once:
  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, LOW);
}


bool autoOff = false;
int blinkCount = 3;
int blinkSpeed = 750;

void ledBlink() {
  digitalWrite(LED_PIN, HIGH);
  delay(blinkSpeed);
  digitalWrite(LED_PIN, LOW);
  delay(blinkSpeed);
}

void loop() {
  // put your main code here, to run repeatedly:
  if (!autoOff) {
    delay(blinkSpeed);
    for (int blinkLoop = 0; blinkLoop < blinkCount; blinkLoop++) {
      ledBlink();
    }
    autoOff = true ;
  }
}