 #define PULSE_LENGTH 170
 #define REPEAT_TRANSMIT 2
 
-#define START_BUTTON_PIN 10
-#define FUNCTION_BUTTON_PIN 11
-#define START_BUTTON_LIGHT 12
+#define START_BUTTON_PIN 11
+#define FUNCTION_BUTTON_PIN 10
+#define START_BUTTON_LIGHT 7
 #define FUNCTION_BUTTON_LIGHT 6
 
 Button startButton = Button(START_BUTTON_PIN, BUTTON_PULLUP, false, 0);

    case 0:    
    case 1:    
    case 2:
      sendStrings[hatNo][9] = red ? '1' : '0';
      sendStrings[hatNo][10] = green ? '1' : '0';
      sendStrings[hatNo][11] = blue ? '1' : '0';
      break;
    case 3:
      sendStrings[hatNo][9] = red ? '1' : '0';
      sendStrings[hatNo][10] = green ? '1' : '0';
      sendStrings[hatNo][11] = blue ? '1' : '0';      
      break;
  }
}


void Send()
{
  for(int i=0; i<4; i++)
  {
    Serial.print("Sending: ");
    Serial.println(sendStrings[i]);
    
    mySwitch.sendTriState(sendStrings[i]);
    delay(100);
  }
  
}

  switch(currentStep)
  {
    case Start:
      Serial.println("Start....");
      currentStep = WaitingForButton;
      lastTime = newTime;
      break;
