Commit 53e44d5e authored by Marcel Stör's avatar Marcel Stör
Browse files

Add reference to deep sleep post for details

parent 6069ebdc
...@@ -87,7 +87,7 @@ dofile("hello.lc") ...@@ -87,7 +87,7 @@ dofile("hello.lc")
Enters deep sleep mode, wakes up when timed out. Enters deep sleep mode, wakes up when timed out.
Theoretical maximum deep sleep duration can be found with [`node.dsleepMax()`](#nodedsleepmax) Theoretical maximum deep sleep duration can be found with [`node.dsleepMax()`](#nodedsleepmax). ["Max deep sleep for ESP8266"](https://thingpulse.com/max-deep-sleep-for-esp8266/) claims the realistic maximum be around 3.5h.
!!! caution !!! caution
...@@ -135,13 +135,12 @@ Returns the current theoretical maximum deep sleep duration. ...@@ -135,13 +135,12 @@ Returns the current theoretical maximum deep sleep duration.
!!! caution !!! caution
While it is possible to specify a longer sleep time than the theoretical maximum sleep duration, it is not recommended to exceed this maximum. While it is possible to specify a longer sleep time than the theoretical maximum sleep duration, it is not recommended to exceed this maximum. In tests documented at ["Max deep sleep for ESP8266"](https://thingpulse.com/max-deep-sleep-for-esp8266/) the device never woke up again if the specified sleep time was beyond `dsleepMax()`.
!!! note !!! note
This theoretical maximum is dependent on ambient temperature. This theoretical maximum is dependent on ambient temperature: lower temp = shorter sleep duration, higher temp = longer sleep duration
(lower temp = shorter sleep duration, higher temp = longer sleep duration)
#### Syntax #### Syntax
`node.dsleepMax()` `node.dsleepMax()`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment