<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/nativeio/I2C.c, branch encoding</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-04-10T20:32:19+00:00</updated>
<entry>
<title>Split up nativeio.</title>
<updated>2017-04-10T20:32:19+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-04-10T20:32:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f28f8ba56809fd56e777eabceae21127f95b89ed'/>
<id>urn:sha1:f28f8ba56809fd56e777eabceae21127f95b89ed</id>
<content type='text'>
This was done to allow greatly granularity when deciding what functionality
is built into each board's build. For example, this way pulseio can be
omitted to allow for something else such as touchio.
</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>Link to the Bus Device docs.</title>
<updated>2017-01-06T02:43:22+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-01-06T02:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=63681a736ae765ae6c039429f9a8c0403d9cc4fb'/>
<id>urn:sha1:63681a736ae765ae6c039429f9a8c0403d9cc4fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atmel-samd &amp; esp8266: Make sure pins are not already in use.</title>
<updated>2016-12-07T23:21:14+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2016-12-06T18:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0ae344841ff048424b886e1f386b16c0c9ba4ee2'/>
<id>urn:sha1:0ae344841ff048424b886e1f386b16c0c9ba4ee2</id>
<content type='text'>
This prevents corrupting previous functional objects by stealing their pins
out from under them. It prevents this by ensuring that pins are in default
state before claiming them. It also verifies pins are released correctly and
reset on soft reset.

Fixes #4, instantiating a second class will fail.
Fixes #29, pins are now reset too.
</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>Fix two bugs found by clang:</title>
<updated>2016-12-01T18:33:50+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2016-12-01T18:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8ef0dd095a5178babb75e48779a359abbf759ffa'/>
<id>urn:sha1:8ef0dd095a5178babb75e48779a359abbf759ffa</id>
<content type='text'>
* PWMOut enter and exit weren't hooked up.
* end couldn't be negative in I2C.
</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>
