From 4dfcc255d5ebe8625b87e5b923db9e22166bb9b4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 30 Jan 2019 14:15:51 +1100 Subject: docs: Convert all cases of machine.sleep to machine.lightsleep. --- docs/esp32/quickref.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/esp32') 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 `_. -- cgit v1.2.3