summaryrefslogtreecommitdiff
path: root/shared-bindings/rtc/__init__.c
AgeCommit message (Collapse)Author
2020-07-17Merge branch 'main' into type_hintsdherrada
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2020-07-03Added type hints to rtcdherrada
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-11Did rgbmatrix, rotaryio, and RTCdherrada
2019-10-23Improve documentation for `rtc`.Thea Flowers
- Add examples for `rtc.RTC.datetime`. - Add type for `rtc.RTC.calibration`. - Expand on use cases for `rtc.set_time_source`.
2018-04-16Add a table of contents reference to RTCScott Shawcroft
2018-04-16Add rtc moduleNoralf Trønnes
Add an rtc module that provides a singleton RTC class with - a datetime property to set and get time if the board supports it. - a calbration property to adjust the clock. There's also an rtc.set_time_source() method to override this RTC object using pure python. The time module gets 3 methods: - time.time() - time.localtime() - time.mktime() The rtc timesource is used to provide time to the time module. lib/timeutils is used for time conversions and thus only supports dates after 2000.