| aServo_GetLimits | Index |
Definition:
| aErr aServo_GetLimits( | aStemLib stemRef, const unsigned char module, const unsigned char nServoIndex, unsigned char* pLimitBytes); |
Parameters:
| stemRef | - | An opaque library reference representing the aStem library which manages the communication with the BrainStem modules. |
| module | - | The IIC address of the module that will return the current position for one of its servo outputs. This need not be the router. |
| nServoIndex | - | The index of the servo. |
| pLimitBytes | - | Address of an array of unsigned char where the result will be stored. |
Return Value:
Description:
This routine manages the BrainStem packets needed to request the current range and offset parameters for a servo output pin and receive the reply.
Related: