           Serial.println("too many colors!");
           break;
         }
-//        Serial.print("There are "); 
-//        Serial.print((int)lightCount); 
-//        Serial.println(" colors");
         byte speed = ble_read();
         if (speed == 0) {
           delayMillis = 1000;  // millisecond delay; default 1 second

ShiftBrite shift(DATA_PIN, LATCH_PIN, ENABLE_PIN, CLOCK_PIN);
byte colors[MAX_COLORS][3];  // longest chain
int delayMillis;
int lightCount;
int currentColor;


  ble_set_name("BriteLamp");
  currentColor = -1;
  lightCount = 0;
  ble_set_pins(REQN, RDYN);
  // Init. and start BLE library.
  ble_begin();
  Serial.println("Starting "); 
}

static byte buf_len = 0;
