Speed of Servo

i have something simple made but the servo speed how i implement this in this sketch?

#include <VarSpeedServo.h>

VarSpeedServo Draaibrug;

int Home = 8;
int SpoorA = 9;
int SpoorB = 10;
int SpoorC = 11;
int SpoorD = 12;
int SpoorE = 13;

void setup(){

Draaibrug.attach(4);
pinMode(Home, INPUT_PULLUP);
pinMode(SpoorA, INPUT_PULLUP);
pinMode(SpoorB, INPUT_PULLUP);
pinMode(SpoorC, INPUT_PULLUP);
pinMode(SpoorD, INPUT_PULLUP);
pinMode(SpoorE, INPUT_PULLUP);
}

void loop()
{
if(digitalRead(Home) == LOW)
{
Draaibrug.write(150);}
if(digitalRead(SpoorA) == LOW)
{
Draaibrug.write(120);}
if(digitalRead(SpoorB) == LOW)
{
Draaibrug.write(90);}
if(digitalRead(SpoorC) == LOW)
{
Draaibrug.write(60);}
if(digitalRead(SpoorD) == LOW)
{
Draaibrug.write(30);}
if(digitalRead(SpoorE) == LOW)
{
Draaibrug.write(0);}
}

thanks in advandce Rob

duplicate post
https://forum.arduino.cc/index.php?topic=718924.0

also the solution was posted in the other thread...

You have included VarSpeedServo.h but you haven't changed the write() commands to use the additional speed parameter or used the wait() command provided. The library can't read your mind, you have to do the coding.

See the example programs that came with VarSpeedServo.

Steve