| aServo_GetAbsolute | Index |
Definition:
| unsigned char aServo_GetAbsolute( | char servo); |
Parameters:
| servo | - | The index of the servo whose absolute position is to be read. |
Return Value:
Description:
This routine retrieves the current absolute position setting for a servo. The value is the desired setting. If the servo is performing a speed-controlled motion, the value returned by this function will be the desired final position for the servo.
Example:
n = aServo_GetAbsolute(0);
This would return the current absolute position for servo 0.
Related: