   {1, 5}, {1, 9}, {5, 9},
   {2, 6}, {2, 10}, {6, 10}};
 
+// SETTINGS
+
+// How long in ms we wait between loops
+int FRAME_SPEED = 50; // 20 fps
+// How many frames to wait before toggling blinking lights
+int BLINK_SPEED = 10; // 0.5s
+// How many frames to wait before logging debug data, or 0 for never
+int DEBUG_FREQ = 20; // 1s
 
 // MAIN TOPLEVEL STUFF
 


  if (state == 1)
  {
    stepCalibration();
    if (selector_pos < last_selector_pos
        || selector_pos > last_selector_pos + 1)
    {

// Note they get filled in in reverse order (see note by selector pos).
boolean correct_positions[7];

// State of various timers.  For the blinkers, -1 is not blinking,
// [0, BLINK_SPEED) is on, [BLINK_SPEED, 2*BLINK_SPEED) is off.
// For debug, we just log on 0.
int calibration_blink_state = -1;
int winning_blink_state = -1;
int debug_state = 0;

// CONSTANTS DEFINING THE PUZZLE
