Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 3f6ca4b

Browse files
puuudpgeorge
authored andcommitted
docs/esp8266/general: Add note about RTC overflow.
1 parent cafdfb7 commit 3f6ca4b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/esp8266/general.rst

+9
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,12 @@ the following in ``main.py``::
9191

9292
This will allow to keep the structure of your application clear, as well as
9393
allow to install multiple applications on a board, and switch among them.
94+
95+
96+
Real-time clock
97+
---------------
98+
99+
Due to limitations of the ESP8266 chip the internal real-time clock (RTC)
100+
will overflow every 7:45h. If a long-term working RTC time is required then
101+
``time()`` or ``localtime()`` must be called at least once within 7 hours.
102+
MicroPython will then handle the overflow.

0 commit comments

Comments
 (0)