diff options
author | puuu <puuu@users.noreply.github.com> | 2016-05-31 22:38:07 +0900 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-06-03 14:37:49 +0100 |
commit | 3f6ca4b22ced848a4b849610a8bce0410c2091cc (patch) | |
tree | cfcf0d67863dd6b3b26748ef060e3c39c4870009 /docs/esp8266 | |
parent | cafdfb7af3628aac5110770097b6cb4fdd70b9d5 (diff) | |
download | micropython-3f6ca4b22ced848a4b849610a8bce0410c2091cc.tar.gz micropython-3f6ca4b22ced848a4b849610a8bce0410c2091cc.zip |
docs/esp8266/general: Add note about RTC overflow.
Diffstat (limited to 'docs/esp8266')
-rw-r--r-- | docs/esp8266/general.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/esp8266/general.rst b/docs/esp8266/general.rst index d6ad83b2a5..313e6074c1 100644 --- a/docs/esp8266/general.rst +++ b/docs/esp8266/general.rst @@ -91,3 +91,12 @@ the following in ``main.py``:: This will allow to keep the structure of your application clear, as well as allow to install multiple applications on a board, and switch among them. + + +Real-time clock +--------------- + +Due to limitations of the ESP8266 chip the internal real-time clock (RTC) +will overflow every 7:45h. If a long-term working RTC time is required then +``time()`` or ``localtime()`` must be called at least once within 7 hours. +MicroPython will then handle the overflow. |