summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-02-24 17:06:34 +0100
committerDamien George <damien@micropython.org>2023-05-04 13:13:05 +1000
commit84302b2854334371217015a5924978c009a94d30 (patch)
treec595cfea041578f8bd54b826b85e4ef781640a9b /docs/esp32
parent250757716a91a05d28e4af8e07adda278f491199 (diff)
downloadmicropython-84302b2854334371217015a5924978c009a94d30.tar.gz
micropython-84302b2854334371217015a5924978c009a94d30.zip
rp2/machine_pwm: Enable keyword args in constructor and add init method.
This adds support for freq/duty_u16/duty_ns keyword arguments in the PWM constructor, and adds the PWM.init() method. Using init() without arguments enables a previously deinit-ed PWM again. Further changes in this commit: - Do not start PWM output if only duty was set. - Stop all PWM slices on soft-reset. - Fix a bug when changing the freq on a channel pair with duty_ns set.
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions