servo.c File Reference

Servo Motor Controls. More...

Go to the source code of this file.


Functions

int Servo_SetActive (int index, int state)
 Lock or unlock the I/O lines used by the servos.
int Servo_GetActive (int index)
 Check whether the I/O lines used by the servos are locked.
int Servo_SetPosition (int index, int position)
 Set the position of the specified servo motor.
int Servo_SetSpeed (int index, int speed)
 Set the speed at which a servo will move in response to a call to Servo_SetPosition().
int Servo_GetPosition (int index)
 Read the current position of a servo motor.
int Servo_GetSpeed (int index)
 Get the speed at which a servo will move in response to a call to Servo_SetPosition().

Detailed Description

Servo Motor Controls.

Methods for controlling up to 4 servo motors with the Make Application Board.

Definition in file servo.c.