summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-01-30 14:15:51 +1100
committerDamien George <damien.p.george@gmail.com>2019-01-30 14:15:51 +1100
commit4dfcc255d5ebe8625b87e5b923db9e22166bb9b4 (patch)
treed9361faed0e34995567a9ef2571f908f7d145359 /docs/esp32
parentd5d060ead9a7c7c97c9f2492be5450139b7e006c (diff)
downloadmicropython-4dfcc255d5ebe8625b87e5b923db9e22166bb9b4.tar.gz
micropython-4dfcc255d5ebe8625b87e5b923db9e22166bb9b4.zip
docs: Convert all cases of machine.sleep to machine.lightsleep.
Diffstat (limited to 'docs/esp32')
-rw-r--r--docs/esp32/quickref.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst
index 81b2a53b39..426d14e3ec 100644
--- a/docs/esp32/quickref.rst
+++ b/docs/esp32/quickref.rst
@@ -421,7 +421,7 @@ Note that TouchPads can be used to wake an ESP32 from sleep::
t = TouchPad(Pin(14))
t.config(500) # configure the threshold at which the pin is considered touched
esp32.wake_on_touch(True)
- machine.sleep() # put the MCU to sleep until a touchpad is touched
+ machine.lightsleep() # put the MCU to sleep until a touchpad is touched
For more details on touchpads refer to `Espressif Touch Sensor
<https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/touch_pad.html>`_.