summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorIhorNehrutsa <Ihor.Nehrutsa@gmail.com>2021-09-19 00:38:37 +0300
committerDamien George <damien@micropython.org>2021-09-21 23:18:09 +1000
commit52636fa69232002f3d8ebed583f8ee61a55878d4 (patch)
treeae96f6c2a74a938a9529c7a3030450b1d397ede4 /docs/esp32/tutorial
parent0d9429f44cd23f5cfdd80d53adccbf384e23665a (diff)
downloadmicropython-52636fa69232002f3d8ebed583f8ee61a55878d4.tar.gz
micropython-52636fa69232002f3d8ebed583f8ee61a55878d4.zip
esp32/machine_pwm: Add support for all PWM timers and channels.
This commit allows using all the available PWM timers (up to 8) and channels (up to 16), without affecting the PWM API. If a new frequency is set, first it checks if another timer is using the same frequency. If yes, then it uses this timer, otherwise, it creates a new one. If all timers are used, the user should set an already used frequency, or de-init a channel. This work is based on #6276 and #3608.
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions