Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 207 Bytes

RTC.md

File metadata and controls

14 lines (9 loc) · 207 Bytes

RTC

Real time clock

See machine.RTC

from machine import RTC

rtc = RTC()
rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time
rtc.datetime() # get date and time