-
Notifications
You must be signed in to change notification settings - Fork 115
fw pwmsetdutycycle
Ken Sharp edited this page Dec 10, 2025
·
2 revisions
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