Classes | |
class | Servo |
Encapsulates the concept of a servo motor. More... | |
Functions | |
EXPORT_SYM int | get_servo_position (int servo) |
EXPORT_SYM void | set_servo_position (int servo, int position) |
EXPORT_SYM int get_servo_position | ( | int | servo | ) |
servo | The port of the servo |
EXPORT_SYM void set_servo_position | ( | int | servo, |
int | position | ||
) |
servo | The port of the servo |
position | The new servo position, between 0 and 1023 |