 const int ledPin = 9;
 
 // Pin for turning lasers on/off
-const int laserPin = 8;
+const int laserPin = 10;
 
 const int inputCount = 8;  // Number of inputs we are reading. Can be up to 16.
 

{
  ledMode = mode;
  ledNumber = number;
  updateLed();
}


  int error = -1; // Set to first laser we can't calibrate.
  for (int i = 0; i < inputCount; ++i) {
    thresholds[i] = (minLasersOn[i] + maxLasersOff[i]) / 2;
    Serial.print(i+1);
    Serial.print(": ");
    Serial.print(thresholds[i]);
    
    if (minLasersOn[i] - maxLasersOff[i] < minCalibrationGap) {
      thresholds[i] = -1;
      Serial.print("  CALIBRATION FAILED!");
      if (error == -1)
        error = i;
