diff options
author | robert-hh <robert@hammelrath.com> | 2023-05-25 14:05:19 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-06-01 12:25:34 +1000 |
commit | 8f6315a279a7a5b2373902d6d9a868a1f8a4dbb2 (patch) | |
tree | 021af7f8e871a3a35153f3bf1d6ad144d7ff496c /tests/basics/string_format_modulo.py | |
parent | 73cc6b750e0709170183ce7da89af618eae40329 (diff) |
mimxrt/machine_pwm: Fix freq change, PWM print, and error checks.
Three bugs have been fixed in this commit:
1. When the duty was set with duty_u16(), changing the freq with pwm.freq()
would not keep relative duty rate, but the absolute pulse duration.
2. Fix another inconsistency when displaying the PWM pin's properties of a
QTMR channel.
3. Improve the error checks for the second channel being a PWM pin and pin
pairs to be a FLEXPWM A/B pair.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'tests/basics/string_format_modulo.py')
0 files changed, 0 insertions, 0 deletions