summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorspacemanspiff2007 <accounts@sgerber.de>2019-03-26 09:22:21 +0100
committerDamien George <damien.p.george@gmail.com>2019-03-28 15:25:41 +1100
commit95b6330403a1b111b88704b327d172ae00927389 (patch)
treec39f6c8b4014f9a0615f0e6feed1bdb3141df842 /docs/esp32
parent92149c8a7954169285b2909012dc601c6e7cb0aa (diff)
docs/esp32: Add example for pin isolation in combination with deepsleep.
Diffstat (limited to 'docs/esp32')
-rw-r--r--docs/esp32/quickref.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst
index e6c53b117..5ac8aa3b2 100644
--- a/docs/esp32/quickref.rst
+++ b/docs/esp32/quickref.rst
@@ -340,6 +340,15 @@ Notes:
* Calling ``deepsleep()`` without an argument will put the device to sleep
indefinitely
* A software reset does not change the reset cause
+* There may be some leakage current flowing through enabled internal pullups.
+ To further reduce power consumption it is possible to disable the internal pullups::
+
+ p1 = Pin(4, Pin.IN, Pin.PULL_HOLD)
+
+ After leaving deepsleep it may be necessary to un-hold the pin explicitly (e.g. if
+ it is an output pin) via::
+
+ p1 = Pin(4, Pin.OUT, None)
OneWire driver
--------------