 
 #define angleMax 110
 #define angleMin 30
-#define angleAdjustmentMagnitude 5
+#define angleAdjustmentMagnitude 10
 
-#define timeDelayToNextAngle 500
+#define timeDelayToNextAngle 1000
 
 Servo servo;
 int angle = angleMin;

  servo.write( angle );
  
  Serial.println();
  Serial.println("Printing timestamp, input angle, and sonar measurement (pulse duration).");

  delay(1000);
}

void loop()
{
  unsigned long timestamp = millis();
  unsigned long timeNextAngle = timestamp + timeDelayToNextAngle;
  long sonarDuration;


    sonarDuration = getSonarDuration();
    
    Serial.println();
    Serial.print( timestamp - timeStart );
    Serial.write(',');
    Serial.print( angle );
    Serial.write(',');
