![]() The RTC class provides these methods to configure the alarm settings… RTC.now() : gets the current date-time from the RTC, which is returned as an 8-tuple. RTC.deinit() : resets the RTC time to January 1, 2015, and restarts the RTC. Depending on the port, the subseconds in the tuple can be milliseconds or microseconds. The tuple must follow this format: (year, month, day, weekday, hours, minutes, seconds, subseconds).
0 Comments
Leave a Reply. |