diff options
author | robert-hh <robert@hammelrath.com> | 2023-02-23 21:52:47 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-05-04 13:09:39 +1000 |
commit | 9c7ad68165bcd224c94ca6d8f172362cf8000d99 (patch) | |
tree | 2f04dcb67c5d804c119833e1f45ca1cf88b88485 /docs/esp32 | |
parent | 0264465585ba10e80bb8ade5b3df2979363d53d0 (diff) | |
download | micropython-9c7ad68165bcd224c94ca6d8f172362cf8000d99.tar.gz micropython-9c7ad68165bcd224c94ca6d8f172362cf8000d99.zip |
mimxrt/machine_pwm: Start PWM only if freq and duty are set.
And also fix/improve the following:
- Simplify the duty handling a little bit.
- Allow duty_u16(65536), which sets the output high.
- Rename machine_pwm_start() to mp_machine_pwm_start(), in preparation for
a possible start/stop method pair.
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions