 // gears have been taken out / selector gear goes back to beginning, reset everything
 void reset()
 {
-  // TODO(benkraft): clear all known gears
-
   // turn off all lights
   for(int i=0; i<7; i++)
   {

// TODO(bhomberg): calculate these numbers for real once mechanism is built; this is approx
int pot_locs[8] = {100, 200, 300, 400, 500, 600, 700, 800};

// TODO(benkraft): add any state variables you need

// this runs once when the program starts
void setup() 

    digitalWrite(gear_lodged[i], LOW);
  }

  // reset internal state: you have to start over.
  for(int i=0; i<7; i++)
  {
    correct_positions[i] = 0;
  }

  // TODO(bhomberg): close all solenoids (??)
}

