| aServo_GetReflex | Index |
Definition:
| unsigned int aServo_GetReflex( | char servo); |
Parameters:
| servo | - | The index of servo pin whose reflex params are to be read. |
Return Value:
Description:
This routine retrieves the current enable bit, reflex message value, and raw input parameter for a servo. The high byte of the return value contains the enable bit and reflex message value. The low byte contains the raw input parameter. A servo can issue a reflex when it completes a speed-controlled motion.
Example:
n = aServo_GetReflex(3);
This would read the reflex settings of servo 3 into variable n.
Related: