diff options
author | Daniel Campora <daniel@wipy.io> | 2015-06-11 15:53:31 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-06-16 15:45:24 +0200 |
commit | ea2cc2b907c2c82283f7f06c9538008b51051d84 (patch) | |
tree | 3a865e7794a9f5fa5d1c1e185283b242886b748c /docs/library/pyb.RTC.rst | |
parent | cdfa11f5503b53824d1c0552ae5fda64422202da (diff) | |
download | micropython-ea2cc2b907c2c82283f7f06c9538008b51051d84.tar.gz micropython-ea2cc2b907c2c82283f7f06c9538008b51051d84.zip |
docs: Add more documentation for the CC3200 in the pyb module.
Diffstat (limited to 'docs/library/pyb.RTC.rst')
-rw-r--r-- | docs/library/pyb.RTC.rst | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/docs/library/pyb.RTC.rst b/docs/library/pyb.RTC.rst index dacd2d7bb9..478731247a 100644 --- a/docs/library/pyb.RTC.rst +++ b/docs/library/pyb.RTC.rst @@ -32,13 +32,23 @@ Methods date and time. With 1 argument (being an 8-tuple) it sets the date and time. - The 8-tuple has the following format: + .. only:: port_pyboard - (year, month, day, weekday, hours, minutes, seconds, subseconds) - - ``weekday`` is 1-7 for Monday through Sunday. + The 8-tuple has the following format: + + (year, month, day, weekday, hours, minutes, seconds, subseconds) + + ``weekday`` is 1-7 for Monday through Sunday. + + ``subseconds`` counts down from 255 to 0 + + .. only:: port_wipy - ``subseconds`` counts down from 255 to 0 + The 8-tuple has the following format: + + ``(year, month, day, weekday, hours, minutes, seconds, milliseconds)`` + + ``weekday`` is 0-6 for Monday through Sunday. .. only:: port_pyboard |