WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

Servo Driver (Hardware PWM)

This is a servo driver for controlling servos that are plugged directly into your board and uses hardware PWM to send commands to each servo.
For hardware PWM each servo must be connected to a different 16 bit hardware PWM pin.
Hardware PWM tends to be 'more exact' than software PWM and requires less processing overhead. However: a processor only tends to have a handful of hardware PWM pins which may not be enough for your needs. If this is the case then look at one of the alternative servo drivers.
Just use the generic example in Actuators
Function Summary

Valid XHTML 1.0 Transitional