docs/esp8266/general: Add note about RTC overflow.

This commit is contained in:
puuu 2016-05-31 22:38:07 +09:00 committed by Damien George
parent cafdfb7af3
commit 3f6ca4b22c

View File

@ -91,3 +91,12 @@ the following in ``main.py``::
This will allow to keep the structure of your application clear, as well as 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. 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.