summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial/pwm.rst
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2024-11-06 20:26:27 +0100
committerDamien George <damien@micropython.org>2024-11-18 16:11:13 +1100
commite2532e0f725107becea3cf7e6d14727ab3abec7c (patch)
tree5dfa564fe2a03c9ffbd73a41513941b8091aeb59 /docs/esp32/tutorial/pwm.rst
parent898407defbb6327fde379304846999033bf349c5 (diff)
downloadmicropython-e2532e0f725107becea3cf7e6d14727ab3abec7c.tar.gz
micropython-e2532e0f725107becea3cf7e6d14727ab3abec7c.zip
mimxrt/machine_pwm: Fix a few inconsistencies with PWM output.
Changes in this commit: - When setting PWM parameters of a FLEXPWM AB channel twice within a PWM cycle, the second setting was ignored. Now the second setting persists. - With `duty_u16(0)` a FLEXPWM X channel was set to high impedance. Now it is set to low impedance with value 0 for `invert=False`, and 1 for `invert=True`. - The align parameter requires a duty rate and frequency to be set. Align will now be ignored if freq or duty are missing. Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp32/tutorial/pwm.rst')
0 files changed, 0 insertions, 0 deletions