ServoSetPulseWidth()

Set the pulse width of the specified servo channel(s).

Syntax


ServoSetPulseWidth(unsigned char numChans, unsigned char* channels, unsigned short* pulseWidths);

numChans
The number of servo channels to open.

channels
A pointer to the first element in a byte array containing the servo channels to set.

pulseWidths
A pointer to the first element in an unsigned short array containing servo pulse width(s) in uS.

Returns


int status