 void getRFIDModuleValue()
 {
   char c;
-  while(RFID.available() > 0){
+  while(RFID.available() > 0) {
     c=RFID.read();
     tag += c;
   }

    ledAnimID = Serial.read() - '0';

    // définitions des paramètres des animations
    int anim1Params[] = {5};
    int anim2Params[] = {300, 75};
    int anim3Params[] = {300, 75};
    int anim4Params[] = {150, 0};

    // jouer l'animation
    switch (ledAnimID) {
      case 1:
        playLEDAnimation(1, "color", FROM_RGB_BLUE_TO_RGB_GREEN, anim1Params);
        setRGBColor(0, 0, 0);
        break;

      case 2:
        playLEDAnimation(3, "blink", RGB_GREEN, anim2Params);
        break;

      case 3:
        playLEDAnimation(3, "blink", RGB_RED, anim3Params);
        break;

      case 4:
        playLEDAnimation(1, "blink", RGB_BLUE, anim4Params);
        break;
    }
  }

    Serial.println(tag);
    tag = "";
  }
  delay(100);
}


