From ea2cc2b907c2c82283f7f06c9538008b51051d84 Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Thu, 11 Jun 2015 15:53:31 +0200 Subject: docs: Add more documentation for the CC3200 in the pyb module. --- docs/library/pyb.RTC.rst | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'docs/library/pyb.RTC.rst') diff --git a/docs/library/pyb.RTC.rst b/docs/library/pyb.RTC.rst index dacd2d7bb..478731247 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 -- cgit v1.2.3