#define RED_LED_PIN 2
#define GRN_LED_PIN 8
#define BLU_LED_PIN 13

int i;    //Variabile contatore

void setup() {
  // put your setup code here, to run once:
  pinMode(RED_LED_PIN, OUTPUT);
  pinMode(GRN_LED_PIN, OUTPUT);
  pinMode(BLU_LED_PIN, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  
  //LED rosso lampeggia 5 volte
  for (i=0;i<5;i++) {
    digitalWrite(RED_LED_PIN, HIGH);
    delay(250);
    digitalWrite(RED_LED_PIN, LOW);
    delay(250);
  }

  //LED verde lampeggia 10 volte
  for (i=0;i<10;i++) {
    digitalWrite(GRN_LED_PIN, HIGH);
    delay(250);
    digitalWrite(GRN_LED_PIN, LOW);
    delay(250);
  }
  
  //LED blu lampeggia 50 volte
  for (i=0;i<50;i++) {
    digitalWrite(BLU_LED_PIN, HIGH);
    delay(250);
    digitalWrite(BLU_LED_PIN, LOW);
    delay(250);
  }
  
}
$abcdeabcde151015202530354045505560fghijfghij