   drawEye(eyeIndex, iScale, eyeX, eyeY, n, lThreshold);
 }
 
-
-// AUTONOMOUS IRIS SCALING (if no photocell or dial) -----------------------
-
 #if !defined(IRIS_PIN) || (IRIS_PIN < 0)
 
 // Autonomous iris motion uses a fractal behavior to similate both the major

        }
      }
    //} else if(digitalRead(eye[eyeIndex].blink.pin) == LOW) { // Wink!
    } else if(blinkR) { // Wink!
      //blinkR = false;
      eye[eyeIndex].blink.state     = ENBLINK;
      eye[eyeIndex].blink.startTime = t;
      eye[eyeIndex].blink.duration  = random(45000, 90000);
    } else if(blinkL) { // Wink!
      //blinkL = false;
      eye[eyeIndex].blink.state     = ENBLINK;
      eye[eyeIndex].blink.startTime = t;
      eye[eyeIndex].blink.duration  = random(45000, 90000);


void frame( // Process motion for a single frame of left or right eye
  uint16_t        iScale) {     // Iris scale (0-1023) passed in
  //static uint32_t frames   = 0; // Used in frame rate calculation
  static uint8_t  eyeIndex = 0; // eye[] array counter
  int16_t         eyeX, eyeY;
  uint32_t        t = micros(); // Time at start of function
