I am doing a robotic project right now. I am using a servo to pan the robot head. I know how to do it by giving pulseout command to the servo but how can I make the pan servo move slowly.

Can somebody show me some code example.

Thanks.