<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/drivers, branch v1.8.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-01-08T08:26:22+00:00</updated>
<entry>
<title>drivers/onewire/ds18x20: Fix negative temperature calc for DS18B20.</title>
<updated>2017-01-08T08:26:22+00:00</updated>
<author>
<name>syndycat</name>
<email>syndycat@yahoo.com</email>
</author>
<published>2017-01-07T11:36:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b2611d6be305c94359f67df875786858e05c3eb0'/>
<id>urn:sha1:b2611d6be305c94359f67df875786858e05c3eb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>drivers/onewire: Enable pull up on data pin.</title>
<updated>2017-01-03T06:19:22+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2017-01-02T21:02:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3c84197f17d27a991f50cb6e5ed268edbc796991'/>
<id>urn:sha1:3c84197f17d27a991f50cb6e5ed268edbc796991</id>
<content type='text'>
The driver seems to be be enabling the pullup resistor in most places, but
not this one. Making this one little change allows onewire devices to be
used with no external pullup resistor.
</content>
</entry>
<entry>
<title>drivers/display/ssd1306.py: Update to use FrameBuffer not FrameBuffer1</title>
<updated>2016-12-01T05:43:25+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-09-06T18:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb09336e996a71fd58e0638035565946d74a1495'/>
<id>urn:sha1:eb09336e996a71fd58e0638035565946d74a1495</id>
<content type='text'>
</content>
</entry>
<entry>
<title>drivers: Add "from micropython import const" when const is used.</title>
<updated>2016-11-03T01:41:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-03T01:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9'/>
<id>urn:sha1:7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9</id>
<content type='text'>
Following best-practice use of the const feature, to make it compatible
with Python.
</content>
</entry>
<entry>
<title>py: Specialise builtin funcs to use separate type for fixed arg count.</title>
<updated>2016-10-21T05:26:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T00:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=571e6f26dbd7e0e38441bc402f76d293303063b2'/>
<id>urn:sha1:571e6f26dbd7e0e38441bc402f76d293303063b2</id>
<content type='text'>
Builtin functions with a fixed number of arguments (0, 1, 2 or 3) are
quite common.  Before this patch the wrapper for such a function cost
3 machine words.  After this patch it only takes 2, which can reduce the
code size by quite a bit (and pays off even more, the more functions are
added).  It also makes function dispatch slightly more efficient in CPU
usage, and furthermore reduces stack usage for these cases.  On x86 and
Thumb archs the dispatch functions are now tail-call optimised by the
compiler.

The bare-arm port has its code size increase by 76 bytes, but stmhal drops
by 904 bytes.  Stack usage by these builtin functions is decreased by 48
bytes on Thumb2 archs.
</content>
</entry>
<entry>
<title>py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.</title>
<updated>2016-10-21T05:26:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T00:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2'/>
<id>urn:sha1:4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2</id>
<content type='text'>
In order to have more fine-grained control over how builtin functions are
constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific,
with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW.  These names now
match the MP_DEFINE_CONST_FUN_OBJ macros.
</content>
</entry>
<entry>
<title>driver/dht: Use mp_raise_OSError helper function.</title>
<updated>2016-10-07T02:53:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-07T02:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3d29996b3d0b1a81bd3dcc1d139e0a6ee233b03'/>
<id>urn:sha1:e3d29996b3d0b1a81bd3dcc1d139e0a6ee233b03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>drivers/sdcard: Port the SDCard driver to new machine API.</title>
<updated>2016-09-01T07:44:07+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-08-25T08:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ce1c786297e69df4a82e83ac379f8ef068e709f6'/>
<id>urn:sha1:ce1c786297e69df4a82e83ac379f8ef068e709f6</id>
<content type='text'>
With backwards compatibility for pyboard.
</content>
</entry>
<entry>
<title>drivers/wiznet5k: Fix indentation so it's not misleading.</title>
<updated>2016-07-11T20:11:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-07-11T20:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dfe056df6f7cdcee41965247fbbf03b4c34c012a'/>
<id>urn:sha1:dfe056df6f7cdcee41965247fbbf03b4c34c012a</id>
<content type='text'>
Otherwise gcc 6.1.1 raises a misleading-indentation error.
</content>
</entry>
<entry>
<title>drivers/display/ssd1306: Add width arg and support 64px wide displays.</title>
<updated>2016-06-26T12:09:31+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-06-14T08:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ab8a5d51999b5c9214004200a8e0528caf160cc6'/>
<id>urn:sha1:ab8a5d51999b5c9214004200a8e0528caf160cc6</id>
<content type='text'>
In particular, the WeMOS D1 Mini board comes with a shield that has a
64x48 OLED display. This patch makes it display properly, with the upper
left pixel being at (0, 0) and not (32, 0).

I tried to do this with the configuration commands, but there doesn't
seem to be a command that would set the column offset (there is one for
the line offset, though).
</content>
</entry>
</feed>
