Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
dherrada
612c6bb86b
Merge branch 'main' into type_hints
2020-07-17 14:55:30 -04:00
Diego Elio Pettenò
34b4993d63
Add license to some obvious files.
2020-07-06 19:16:25 +01:00
dherrada
d0d949cd24
Made every init return None
2020-07-03 14:23:34 -04:00
dherrada
54cb1feea0
Removed all 'self, )'
2020-07-02 13:28:36 -04:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
c534a872a2
Merge branch 'master' into master
2020-05-12 12:26:02 -04:00
dherrada
c7a9d49cba
Did rgbmatrix, rotaryio, and RTC
2020-05-11 13:00:19 -04:00
spkuehl
af55af216a
Fix type in RTC documentation.
2020-05-06 14:11:11 -05:00
Thea Flowers
4a55c48dbf
Improve documentation for `rtc`.
...
- Add examples for `rtc.RTC.datetime`.
- Add type for `rtc.RTC.calibration`.
- Expand on use cases for `rtc.set_time_source`.
2019-10-23 15:48:34 -07:00
Nick Moore
781d301bb6
Remove unnecessary MP_WEAK declarations
2019-04-02 13:33:22 +11:00
Nick Moore
f846fa109e
enable NRFX RTC adafruit/circuitpython#1046
2019-04-02 13:27:28 +11:00
Dan Halbert
0653bca323
Revert "Circuitpython nickzoic 1046 nrf rtc"
2019-03-29 16:41:29 -04:00
Nick Moore
93684737eb
Fix up messages & wild stab at translations for adafruit/circuitpython#1046
...
The mysterious MP_WEAK linking bug still exists, thus the new message for 'set'.
2019-03-28 09:56:48 +11:00
Nick Moore
ff6395fa4e
workaround for problem with adafruit/circuitpython#1046
...
the __weak linking works fine so long as these functions are not identical.
I have not yet worked out why.
2019-03-28 09:50:09 +11:00
Nick Moore
b09d2c3c62
enable NRFX RTC adafruit/circuitpython#1046
2019-03-28 09:50:09 +11:00
Scott Shawcroft
747f2cfe26
Add subclass support to displayio.
...
Also, swap make_news to accept a kwarg map and refine param checking.
Fixes #1237
2019-01-14 17:29:19 -08:00
Scott Shawcroft
933add6cd8
Support internationalisation.
2018-08-07 14:58:57 -07:00
Scott Shawcroft
301479cd44
Remove "Get or set"
2018-04-16 15:00:58 -07:00
Noralf Trønnes
8d1719f190
Add rtc module
...
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.
2018-04-16 12:49:10 +02:00