   pinMode(laserPin, OUTPUT);
   
   setLedMode(LED_ON, 0);
-  calibrate();
+  
+  if (autoCalibration)
+      calibrate();
+  else
+      setManualThresholds();
+      
   setLasers(true);
 }
 

    "@" is received, all input should be ignored until a "~" is received.
 */

// These constants won't change.  They're used to give names
// to the pins used:
const int analogInPin = A0;  // Analog input pin that the potentiometer is attached to

const int inputCount = 8;  // Number of inputs we are reading. Can be up to 16.

// Thresholds for input on each pin. >= this value is ON, < this value is OFF.
// These are set in the power-on calibration routine, or set to defaultThreshold.
int thresholds[inputCount];

// Values during calibration.
