Ameba MicroPython: [RTL8722CSM] [RTL8722DM] RTC
Create a RTC object.
This method works in 2 ways
• Return the local date and time if NOT passing any argument into it. The returned format is as follows, (year, month, date, hour, minute, second, weekday[0-6 for Mon to Sun], yearday[1-366]).
• Update the local date and time if passing an eight-elements array into it, the array format is same as above.