.updateall Method

Function:

Updates the frequency and duty cycle for all enabled PWM channels.

Syntax:

pwm.updateall()

Returns:

---

See Also:

pwm.dutycycle, pwm.frequency, pwm.update


Details

After setting or modifying the duty cycle or frequency of any given pulse-width modulation (PWM) channel, you need to call pwm.update or pwm.updateall for the changes to take effect.


.updateall Method

Details