The friendly Operating System for the Internet of Things
High-level driver for easy handling of servo motors. More...
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 (servo_t *dev, unsigned int pos)|
|Set the servo motor to a specified position. More...|