     Serial.println(analogValue, DEC);
     delay (20);
   }
-  while(time > 11000 && time < 12000){// LEDs to flash at finish of calibration 
+  while(time > 16000 && time < 17000){// LEDs to flash at finish of calibration 
   time = millis();
   analogWrite(RedPin, 255);
   analogWrite(GreenPin, 255);

The brightness of the green LED is controlled by the y axis acceleration.
The brightness of the blue LED is controlled by the z axis acceleration.

During the first 10 seconds of this program you should rotate the 
accelerometer through all 3 axes. This will calibrate the signal for
you specific accelerometer. All LEDs will flash for 1 second at the beginning 
and end of this "calibration".

  analogWrite(BluePin, 0);
  delay (10);}
  
  while (time>1000 && time < 16000){ // Time to calibrate each sensor to it's particular range of values.
  time = millis();
   //Red
    analogValue = analogRead(sensorPinRed);
