 Created by Geoff Spielman on 2016-06-25.
 Copyright (c) 2016 Geoff Spielman. All rights reserved.
 */
-
-#include <HashMap.h>
 #include <QueueList.h>
 
+//Hardware
 const int btn0 = 2;
 const int btn1 = 3;
 const int btn2 = 4;

    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
 */
}



        displayingSequence = false;
        repeatingSequence = true;
        listeningToButtons = true;
        resetButtonLog();
        seqIndex = 0;
      }
      timeLEDlastChanged = millis();
