diff options
author | garywill <garywill@disroot.org> | 2024-12-06 13:20:34 +0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-03-13 12:51:43 +1100 |
commit | bfd974d65823c5ab4be1a2d0934d7392a5fa3069 (patch) | |
tree | 073f0a5d94ace527221b723548d4452b66438530 /docs/esp32/tutorial/index.rst | |
parent | 464121f30158e769b4bcd4e0187f9fc58b6e09d9 (diff) |
esp32/machine_pwm: Correctly stop LEDC timer.
The ESP32 PWM (LEDC) timer wasn't correctly stopped. `ledc_timer_rst()` is
for resetting the timer counter to zero, not for stopping the timer.
The correct way to stop a pwm timer is to pause it, then configure it with
`deconfigure = true`.
Signed-off-by: garywill <garywill@disroot.org>
Diffstat (limited to 'docs/esp32/tutorial/index.rst')
0 files changed, 0 insertions, 0 deletions