 
 void setup()
 {
-    Serial.begin(9600); // Starts the serial communication
+    Serial.begin(115200); // Starts the serial communication
 
     // attach servo pin and set to initial direction
-    ServoMotor.attach(servoPin);
+    ServoMotor.attach(servoPin, 400, 2600);
     ServoMotor.write(servoPos);
 }
 

    uint8_t angle = servoRotationAngel;
    if(detailed)
    {
        angle = servoRotationAngelDetailed
    }

    if(servoMovement == right)

    {
        // Change to true for detailed scan
        ServoMotor.write(GetNextServoAngle(false));
        delay(10);
    }

    Serial.print("#1: ");
    Serial.print(actualServoPos);
    Serial.print(" - ");
    Serial.println(range1);

    Serial.print("#2: ");
    Serial.print(actualServoPos+180);
    Serial.print(" - ");
    Serial.println(range2);
}
