summaryrefslogtreecommitdiff
path: root/shared-bindings/rtc
AgeCommit message (Collapse)Author
2020-07-27Fix several type hintsTaku Fukada
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-07-03Made every init return Nonedherrada
2020-07-02Removed all 'self, )'dherrada
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-12Merge branch 'master' into masterdherrada
2020-05-11Did rgbmatrix, rotaryio, and RTCdherrada
2020-05-06Fix type in RTC documentation.spkuehl
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`.
2019-04-02Remove unnecessary MP_WEAK declarationsNick Moore
2019-04-02enable NRFX RTC adafruit/circuitpython#1046Nick Moore
2019-03-29Revert "Circuitpython nickzoic 1046 nrf rtc"Dan Halbert
2019-03-28Fix up messages & wild stab at translations for adafruit/circuitpython#1046Nick Moore
The mysterious MP_WEAK linking bug still exists, thus the new message for 'set'.
2019-03-28workaround for problem with adafruit/circuitpython#1046Nick Moore
the __weak linking works fine so long as these functions are not identical. I have not yet worked out why.
2019-03-28enable NRFX RTC adafruit/circuitpython#1046Nick Moore
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2018-08-07Support internationalisation.Scott Shawcroft
2018-04-16Remove "Get or set"Scott Shawcroft
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.