<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/rtc/__init__.c, branch 3.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-04-16T22:00:01+00:00</updated>
<entry>
<title>Add a table of contents reference to RTC</title>
<updated>2018-04-16T22:00:01+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-04-16T22:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=84d4be279e629f4094d9e72770e807bd1bb166f6'/>
<id>urn:sha1:84d4be279e629f4094d9e72770e807bd1bb166f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add rtc module</title>
<updated>2018-04-16T10:49:10+00:00</updated>
<author>
<name>Noralf Trønnes</name>
<email>noralf@tronnes.org</email>
</author>
<published>2018-04-07T13:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8d1719f190f249ebb0e53c4f42a81d7fc16f4e00'/>
<id>urn:sha1:8d1719f190f249ebb0e53c4f42a81d7fc16f4e00</id>
<content type='text'>
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.
</content>
</entry>
</feed>
