summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial/pwm.rst
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-06-02 23:33:42 +1000
committerJim Mussared <jim.mussared@gmail.com>2023-06-08 17:54:28 +1000
commit8211d56712301d58970904892da5312b11b2ab7c (patch)
tree5b5eab99bf22e469826bfb85b42073d772d4da2d /docs/esp32/tutorial/pwm.rst
parent5fd042e7d1610b4d42acfc523441468f2ac28c6f (diff)
downloadmicropython-8211d56712301d58970904892da5312b11b2ab7c.tar.gz
micropython-8211d56712301d58970904892da5312b11b2ab7c.zip
docs/library/index: Update docs after umodule rename.
- Update guide for extending built-in modules. - Remove any last trace of umodule in other docs. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/esp32/tutorial/pwm.rst')
-rw-r--r--docs/esp32/tutorial/pwm.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/esp32/tutorial/pwm.rst b/docs/esp32/tutorial/pwm.rst
index 12d10a86b9..2650284d35 100644
--- a/docs/esp32/tutorial/pwm.rst
+++ b/docs/esp32/tutorial/pwm.rst
@@ -50,7 +50,7 @@ low all of the time.
* Example of a smooth frequency change::
- from utime import sleep
+ from time import sleep
from machine import Pin, PWM
F_MIN = 500
@@ -75,7 +75,7 @@ low all of the time.
* Example of a smooth duty change::
- from utime import sleep
+ from time import sleep
from machine import Pin, PWM
DUTY_MAX = 2**16 - 1