           delayMillis = speed * 4;
         }
         currentColor = 0;
-//        Serial.print("Delay is "); 
-//        Serial.print( (int)speed); 
-//        Serial.println(".");
         readColors(0, lightCount);
         break;
       }

  ble_set_name("BriteLamp");
  currentColor = -1;
  lightCount = 0;

  // Init. and start BLE library.
  ble_begin();
}

static byte buf_len = 0;

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

