High-level driver for easy handling of servo motors. More...
High-level driver for easy handling of servo motors.
Definition in file servo.h.
|Descriptor struct for a servo. More...|
|int||servo_init (servo_t *dev, pwm_t pwm, int pwm_channel, unsigned int min, unsigned int max)|
|Initialize a servo motor by assigning it a PWM device and channel. More...|
|void||servo_set (const servo_t *dev, unsigned int pos)|
|Set the servo motor to a specified position. More...|