main cite
#include <Servo.h>
Servo myservo;
void setup()
{
myservo.attach(5);
  /* When you switch on your controller(TowerPro H40A) 
  for the first time, you should give him a high signal (let say 160) and after that a low signal (let say 10) to initialize it.
  But this procedure you do only once per life. Next time you just start from low signal. 
  This is a reason why next two lines are commented. Uncomment them only during the first test.*/

  //myservo.write(160); 
  //delay(5000);
  myservo.write(10); // initialization of speed controller
  delay(5000);
  myservo.write(150); //almost the highest possible speed
}
void loop(){}