int delay_value = 1500; // Heartbeat Indicator Slow Flash
int led_pin = 6; // Annunciator LED Output D6
int sensor_pin = 8; // LPS Input D8

void setup() { 
pinMode(led_pin, OUTPUT); 
pinMode(sensor_pin, INPUT_PULLUP); // Internal Pull-up Enabled
}
void loop() { 
  digitalWrite(led_pin, HIGH);
  delay(delay_value);
  digitalWrite(led_pin, LOW);
  delay(delay_value);
  int sensor_state = digitalRead(sensor_pin);
  if (sensor_state == LOW) { 
    delay_value = 150; // Event Notification Fast Flash
  } else {
    delay_value = 1500; 
  } 
}