| aServo_Write | Index |
Definition:
Parameters:
| index | - | The index of the servo output. |
| data | - | The data (0 or 1) to be written to the servo output pin. |
Return Value:
Description:
A servo output can be used as a digital output. This routine disables the PWM output for a servo pin and sets the pin either high or low based on the input.
Example:
aServo_Write(3, 1);
This would disable the PWM output for servo pin 3 and set that pin high.
Related: