const int led1 = 0;
void setup() {
  pinMode(led1, OUTPUT);

}
int delayTime = 1000;

void loop() {
  if (delayTime <= 100){
    delayTime= 1000;
  }
  else{
    delayTime = delayTime - 100;
  }

  digitalWrite(led1, HIGH);
  delay(delayTime);
  digitalWrite(led1, LOW);
  delay(delayTime);
}