 
 unsigned int sequence[maxsteps][3];  //[step number][value]
   //value 0 - number of ms to wait before doing this step
-  //value 1 - channel to activate.  0-5. ff-end of sequence.  fe-illegal
+  //value 1 - channel to activate.  0-5. ff-end of sequence.  fe-illegal.  0-5 corresponds to outputs 1-6
   //value 2 - state to set channel. 0-off, 1-on
 
 #define masterpasscodelength 8

//Query for channel
      Serial1.write("\r\nChannel: ");
      if (sequence[i][1] != 0xfe)  //only print the current channel if it is legal
        Serial1.print(sequence[i][1]);
      value = CheckForChInput();
      switch (value)
      {
        case 0:

  int receivedbutton = -1;
  int receivecount = 0;
  int receivedsequence[15];
  LeftButtonLEDState = 0;
  RightButtonLEDState = 0;
  UpdateButtonLEDs();
  while (receivedbutton != ENTERkey)
  {
    receivedbutton = Serial1.read();
