 
 unsigned long lightModeStart = 0;
 LightMode lightMode = NONE;
+
+SoftwareSerial BT(PIN_BT_RX, PIN_BT_TX);
 
 void setup() {
   pinMode(PIN_RED, OUTPUT);

  digitalWrite(PIN_BLUE, LOW);
  digitalWrite(PIN_STATUS, LOW);
  
  Serial.begin(9600);
}

void loop() {
  if (Serial.available()) {
    String command = Serial.readStringUntil('\n');

    String output = processCommand(command);
    if (output.length() > 0) {
      Serial.println("+" + command);
      if (output != EMPTY_COMMAND_SUCCESS)
        Serial.println(output);
      blink(PIN_STATUS, 2);
    } else {
      Serial.println("-" + command);
      Serial.println("UNKNOWN");
      blink(PIN_STATUS, 1);
    }
  }

  processLightMode();
}

void processLightMode() {

#include <SoftwareSerial.h>

#define PIN_RED 3
#define PIN_GREEN 4
#define PIN_BLUE 5

#define PIN_BT_RX 10
#define PIN_BT_TX 11

#define BAUDRATE_SERIAL 9600
#define BAUDRATE_BT 9600

#define PIN_STATUS LED_BUILTIN

