Duty - is a variable/constant (0-1023) which sets the PWM duty cycle. (duty cycle is the mark or 'on time' )
Alter the duty cycle after a hpwm command has been issued.
See the hpwm command for more details.
Start and change a hardware PWM signal
Enable a hardware PWM signal and then change its duty rate
Submit Your Own Code!
You must be logged in to submit code examples. Login now.