 char bChar[4] = "125";
 char pattern[2] = "2";
 char mode[2] = "1";
-char very_active[5] = "5";
-char sendentary[5] = "20";
-char fairly_active[5] = "10";
-char lightly_active[5] = "25";
-char sleep_time[5] = "40";
+char *very_active = "5";
+char *sendentary = "20";
+char *fairly_active = "10";
+char *lightly_active = "25";
+char *sleep_time = "40";
 int r = 0;
 int g = 0;
 int b = 255;
 Adafruit_NeoPixel strip = Adafruit_NeoPixel(102, 6, NEO_GRB + NEO_KHZ800);
 
 void setup() {
+//  Serial.begin(9600);  // initialize serial communication
+//  while(!Serial);      // do nothing until the serial monitor is opened
+//  Serial.println("Starting bridge...\n");
+
   Bridge.begin();  // make contact with the linux processor
-  Serial.begin(9600);
-  while(!Serial);
-  Serial.print("sketch started");
   initLeds();
-  
-  
 }
 
 void initLeds(){


void lazy(int r, int g, int b){
 int dur = 100;
 for (int pos=0; pos<dur; pos++){
    alpha = easeInOutBounce(pos, 0, 100, 100);
    tintPixels(r, g, b, alpha);
    delay(50); 
 }
 delay(300);
 for (int pos=0; pos<dur; pos++){
    alpha = linearTween(pos, 100, -100, 100);
    tintPixels(r, g, b, alpha);
    delay(10);
 }
}

void notrecorded(int r, int g, int b){
    tintPixels(r, g, b, 100);
}

void hyperative(int r, int g, int b){

  }
  return easeOutBounce (t*2-d, 0, c, d) * .5 + c*.5 + b;
}

int waitTime(unsigned long *timeMark, unsigned long timeInterval){
  unsigned long timeCurrent;
  unsigned long timeElapsed;
  int result = false;
  timeCurrent = millis();
  if(timeCurrent<*timeMark){
    timeElapsed=(TIMECTL_MAXTICKS-*timeMark)+timeCurrent;
  }else{
    timeElapsed=timeCurrent-*timeMark;  
  }
  if(timeElapsed>=timeInterval) {
    *timeMark=timeCurrent;
    result=true;
  }
  return(result);  
}
