-
Notifications
You must be signed in to change notification settings - Fork 114
pwmsetdutycycle
Ken Sharp edited this page Dec 8, 2023
·
1 revision
Set the duty cycle of the specified PWM channel(s).
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.
int status