| aServo_GetLimits | Index |
Definition:
Parameters:
| servo | - | The index of servo pin whose limits are to be read. |
Return Value:
Description:
This routine retrieves the current offset and resolution settings for a servo output. The high byte of the return value is the offset. The low byte of the return value is the resolution.
Example:
n = aServo_GetLimits(3);
This would read the limit settings of servo 3 into variable n.
Related: