From cb9aafbf8f0ee912e5f4d0a32d5f9765d9e8f30c Mon Sep 17 00:00:00 2001 From: victor Date: Sun, 28 Jun 2020 23:41:04 +0200 Subject: [PATCH] docs/library: Clarify that the arg to esp.deepsleep is in microseconds. --- docs/library/esp.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/esp.rst b/docs/library/esp.rst index cb2bc7af8d..b9ae57bd97 100644 --- a/docs/library/esp.rst +++ b/docs/library/esp.rst @@ -31,7 +31,7 @@ Functions The system enters the set sleep mode automatically when possible. -.. function:: deepsleep(time=0, /) +.. function:: deepsleep(time_us=0, /) **Note**: ESP8266 only - use `machine.deepsleep()` on ESP32