diff options
Diffstat (limited to 'docs/pyboard/quickref.rst')
| -rw-r--r-- | docs/pyboard/quickref.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/pyboard/quickref.rst b/docs/pyboard/quickref.rst index 62157bff0..52ddc29b1 100644 --- a/docs/pyboard/quickref.rst +++ b/docs/pyboard/quickref.rst @@ -138,7 +138,9 @@ See :ref:`pyb.RTC <pyb.RTC>` :: from pyb import RTC rtc = RTC() - rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time + rtc.datetime((2017, 8, 23, 0, 1, 12, 48, 0)) # set a specific date and + # time, eg. 2017/8/23 1:12:48 + # the day-of-week value is ignored rtc.datetime() # get date and time PWM (pulse width modulation) |
