PwmSetDutyCycle()

Set the duty cycle of the specified PWM channel(s).

Syntax


PwmSetDutyCycle(unsigned char numChans, unsigned char* channels, unsigned char* values);

numChans
The number of PWM channels to set.

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

values
A pointer to the first element in an unsigned byte array containing the 8-bit duty cycle values.

Returns


int status