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

int seqIndex = 0;
int seqLength = 0;
String recString = "";
//since dynamic arrays are not advised in Arduino, it is unlikely the user will get past 50
int seqArr[50];
int btnLog[50];
int btnLogIndex = 0;
String sendSequence = "";
String sendMorse = "";

//Status trackers
boolean displayingSequence = false;

boolean LEDon = false;



void setup() {
 
  Serial.begin(9600);
  for (int i = 0; i < 4; i++)
  {
    pinMode(btn[i], INPUT);
    pinMode(led[i], OUTPUT);
  }
  recString.reserve(400);


/*Since you can't store anything other than integers in this HashMap:
 * Last digit is if it should be on (1) or off(0) (use mod 10 to determine)
 * All other digits are how many units to perform the action (truncate divide by 10 to determine)
 */
morseMap[0](".", 11);
morseMap[1]("/", 31);
morseMap[2](" ", 30); //space between letters
morseMap[3]("|", 70); //space between words
morseMap[4]("?", 120);//space between messages (arbitrary, in case there are multiple)
//morseMap.debug(); //print it
/*According to Wikiepedia:
 * Length of dash is three times the length of a dot
 * Space between dash or dot is equal to the length of a dot
 * letters are seperated by a pause equal to the length of a dash (three dots)
 * words are seperated by 7 dots
 */
}


