 
 // if the potentiometer is between pot_locs[2*i] and pod_locs[2*i+1], then we 
 // say we are in position i.  otherwise, we are between positions.
-int pot_locs[14] = {1024, 885, 825, 690, 640, 450, 390, 280, 190, 70, 50, 24, 12, 0};
+// TODO(benkraft): Consider narrowing these.
+int pot_locs[14] = {1024, 885,
+                    825, 690,
+                    640, 450,
+                    390, 280,
+                    190, 70,
+                    50, 24,
+                    12, 0};
 
 // above this = white; below = black (unlodged is undefined)
 // TODO(benkraft): Recompute after we move them.

// this is run continuously after setup has completed
void loop() 
{
  delay(50);
  if (debug_state == 0)
  {
    printState();
  }
  if (debug_state >= 0)
  {
    debug_state = (debug_state + 1) % 20;
  }
  
  int selector_pos = getSelectorGearPosition();
  if (selector_pos == -2)


void setCalibration(boolean on)
{
  calibration_blink_state = -1;
  if (on)
  {
    digitalWrite(calibration_light, HIGH);
