Add reference to deep sleep post for details
This commit is contained in:
parent
6069ebdc90
commit
53e44d5ece
|
@ -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.
|
||||||
|
|
||||||
!!! 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()`
|
||||||
|
|
Loading…
Reference in New Issue