summaryrefslogtreecommitdiff
path: root/tests/basics/string_format_modulo.py
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-05-25 14:05:19 +0200
committerDamien George <damien@micropython.org>2023-06-01 12:25:34 +1000
commit8f6315a279a7a5b2373902d6d9a868a1f8a4dbb2 (patch)
tree021af7f8e871a3a35153f3bf1d6ad144d7ff496c /tests/basics/string_format_modulo.py
parent73cc6b750e0709170183ce7da89af618eae40329 (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