   unsigned long startTime = millis();
   while(millis() - startTime < 10000)   // make the calibration take 10 seconds
   {
-    reflectance.calibrate();
+    reflectanceSensors.calibrate();
   }
   digitalWrite(13, LOW);         // turn off LED to indicate we are through with calibration
 


void setup()
{
  reflectance.init();

  delay(500);
  pinMode(13, OUTPUT);

  Serial.begin(9600);
  for (byte i = 0; i < NUM_SENSORS; i++)
  {
    Serial.print(reflectanceSensors.calibratedMinimumOn[i]);
    Serial.print(' ');
  }
  Serial.println();
