| aBus_Servo_SetAbsolute | Index |
Definition:
Parameters:
| module | - | The address of the module you want to move the servo on. |
| servo | - | The index of the servo to move. |
| position | - | The new absolute position for the servo. |
Return Value:
Description:
This routine moves a servo on any networked BrainStem to a new absolute position. If the servo has a non-zero speed, the motion will be speed-controlled. The servo can reside on the same BrainStem where the routine is running but in that case, it is more efficient to use the aServo_SetAbsolute routine.
| Note: | This routine is available in builds later than build 60207. |
Example:
aServo_SetAbsolute(2, 0, 200);
This would move servo 0 on module 2 to absolute position 200.
Related: