<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/bitbangio/I2C.c, branch 2.2.0rc1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0rc1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0rc1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-11-03T16:33:37+00:00</updated>
<entry>
<title>Allow empty reads and writes for busio.SPI</title>
<updated>2017-11-03T16:33:37+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2017-11-03T14:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=78f6c2232ca08f80ed96d2f1ef365f5f749fec1c'/>
<id>urn:sha1:78f6c2232ca08f80ed96d2f1ef365f5f749fec1c</id>
<content type='text'>
This is mostly for convenience, so that user code doesn't
need to add additional checks.

Also, bring the bitbangio into compatibility with busio wrt. empty
buffers.
</content>
</entry>
<entry>
<title>Do not allow a *io object to be used after deinit().</title>
<updated>2017-10-03T19:07:17+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2017-10-03T00:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c478c10923b9085b2abe135470e968029aaf2fdb'/>
<id>urn:sha1:c478c10923b9085b2abe135470e968029aaf2fdb</id>
<content type='text'>
Fixes #278, #277, #276, #275.
</content>
</entry>
<entry>
<title>shared-bindings: Update docs to remove with statements from examples but add more detail to the design guide about their use.</title>
<updated>2017-06-07T21:39:12+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-06-07T21:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=714521a4c7a6814c365c061bcf967c4c45692e3d'/>
<id>urn:sha1:714521a4c7a6814c365c061bcf967c4c45692e3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch to a shared piece of code to compute start and length of a</title>
<updated>2017-04-20T18:24:05+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-04-20T18:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=939c0045dbf2694a12432ad861db166ecf483b67'/>
<id>urn:sha1:939c0045dbf2694a12432ad861db166ecf483b67</id>
<content type='text'>
buffer from start, end and length. The old code miscomputed length
leading to writing and reading from memory past the end of the buffer.
Consolidating the code should make it easier to get right everywhere.
</content>
</entry>
<entry>
<title>shared-bindings: Do a pass on the docs and make sure keyword only arguments make sense and are documented correctly. Fixes #109</title>
<updated>2017-03-07T11:58:57+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-03-07T11:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4aaa0ea00864dea835161b96a75c15e8c5242744'/>
<id>urn:sha1:4aaa0ea00864dea835161b96a75c15e8c5242744</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call.</title>
<updated>2017-02-24T14:13:07+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-24T14:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12fa5b3a66d6f0034113a56c7d647c7bac5be74c'/>
<id>urn:sha1:12fa5b3a66d6f0034113a56c7d647c7bac5be74c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Two I2C fixes:</title>
<updated>2017-02-19T16:02:29+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-19T16:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=710b5d8aff2de490c5531e5cbc9092d51fb39958'/>
<id>urn:sha1:710b5d8aff2de490c5531e5cbc9092d51fb39958</id>
<content type='text'>
1) Bus error will be thrown on read/write errors with errno set. (Read didn't used to fail at all.)
2) try_lock correctly returns boolean whether lock was grabbed.

Fixes #87
</content>
</entry>
<entry>
<title>Switch enum-like attributes to all caps and add print support for them. Make room for this functionality by adding a shared __enter__ function object. #76</title>
<updated>2017-02-19T15:11:33+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-19T15:11:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9659e61f89fb9ef84011c42e89849f7fd9bc9c1'/>
<id>urn:sha1:e9659e61f89fb9ef84011c42e89849f7fd9bc9c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add try_lock and unlock to I2C and SPI classes to make sure things</title>
<updated>2016-12-02T23:46:12+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2016-11-30T23:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=26229efe78f6c5f8598d6f9f1b2261c5a84d7a7b'/>
<id>urn:sha1:26229efe78f6c5f8598d6f9f1b2261c5a84d7a7b</id>
<content type='text'>
are shared well between threads and underlying MicroPython (SPI Flash
for example.)

It is recommended to use the bus device classes to manage the locks
and other transaction state.

https://github.com/adafruit/Adafruit_MicroPython_BusDevice

Fixed #58
Fixed #59
Fixed #60
</content>
</entry>
<entry>
<title>shared-bindings: Ensure pin objects are actually pins.</title>
<updated>2016-11-29T23:50:01+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2016-11-29T23:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4933fa1c27f987be558a33b1736089b04e880a03'/>
<id>urn:sha1:4933fa1c27f987be558a33b1736089b04e880a03</id>
<content type='text'>
Fixes #12
</content>
</entry>
</feed>
