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.