 
 
 
-//expect morse code to start with . or - and sequences are in the form 12031021, BOTH END WITH |
+
+//expect morse code to start with . or - and sequences are in the form 12031021, BOTH END WITH ~
 void serialEvent()
 {
   while (Serial.available())

    char inChar = (char)Serial.read();
    recString += inChar;
    
    if (inChar == '|')
    {
      int endIndex = recString.indexOf("|");
      //start index = inclusive, end index = exlusive (this removes pipe)
      recString = recString.substring(0, endIndex);

      

      digitalWrite(led[animationArr[animationIndex]], HIGH);
      LEDon = true;
      timeLEDlastChanged = millis();
    }
  }
  
  else if(creatingSequence)
  {
    //since the index is incremented after the last button was logged
    if (btnLogIndex == seqLength)
    {
      for (int i = 0; i < seqLength; i ++)
      {
        sendSequence += String(btnLog[i]);
      }
      Serial.println(sendSequence);
      creatingSequence = false;
    }
  }


  //seperate from status blocks of code -------------------------------------
  if (listeningToButtons)
  {
    for (int i = 0; i < 4; i ++)
