docs/esp32: Add example for pin isolation in combination with deepsleep.
@@ -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
--------------
