<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-module/displayio, branch 6.1.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-12-28T14:34:00+00:00</updated>
<entry>
<title>update common_hal_reset_pin()</title>
<updated>2020-12-28T14:34:00+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2020-12-28T14:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dc332baa87bf1fa3d777ffe31c7dc29b24a6a142'/>
<id>urn:sha1:dc332baa87bf1fa3d777ffe31c7dc29b24a6a142</id>
<content type='text'>
</content>
</entry>
<entry>
<title>OnDiskBitmap: Correct handling of "0 color palette" images</title>
<updated>2020-12-17T16:54:37+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-12-17T16:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f224ed18488b1e92b6d13b09b696769a2ac380ce'/>
<id>urn:sha1:f224ed18488b1e92b6d13b09b696769a2ac380ce</id>
<content type='text'>
Microsoft documentation says:

&gt; If biCompression equals BI_RGB and the bitmap uses 8 bpp or less, the bitmap has a color table immediatelly following the BITMAPINFOHEADER structure. The color table consists of an array of RGBQUAD values. The size of the array is given by the biClrUsed member. If biClrUsed is zero, the array contains the maximum number of colors for the given bitdepth; that is, 2^biBitCount colors.

Formerly, we treated 0 colors as "no image palette" during construction,
but then during common_hal_displayio_ondiskbitmap_get_pixel indexed into
the palette anyway.  This could have unpredictable results.  On a pygamer,
it gave an image that was blue and black.  On magtag, it gave a crash.
</content>
</entry>
<entry>
<title>displayio: ColorConverter: fix logic errors about transparent pixels</title>
<updated>2020-12-16T19:48:27+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-12-16T19:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=28bd29eb42d61d0a7116b6c4295e166fcfbe7145'/>
<id>urn:sha1:28bd29eb42d61d0a7116b6c4295e166fcfbe7145</id>
<content type='text'>
The transparent_color field was never initialized.  I _think_ this means
its value was always set to 0, or the blackest of blacks.  Instead,
initialize it to the sentinel value, newly given the name
NO_TRANSPARENT_COLOR.

This exposed a second problem: The test for whether there was an existing
transparent color was wrong (backwards).  I am guessing that this was not
found due to the first bug; since the converter had a transparent color,
the correct test would have led to always getting the error "Only one
color can be transparent at a time".

Closes #3723
</content>
</entry>
<entry>
<title>Merge pull request #3718 from jepler/epd-rotation</title>
<updated>2020-11-23T23:04:26+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2020-11-23T23:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=491e3147994cfc92105b0b77b601d7a26734805b'/>
<id>urn:sha1:491e3147994cfc92105b0b77b601d7a26734805b</id>
<content type='text'>
EPaperDisplay: add rotation property</content>
</entry>
<entry>
<title>Fix Palette grayscale for EInk.</title>
<updated>2020-11-19T00:32:07+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-11-19T00:28:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2463a6d6ac3fb53fa471c77bc585c8ef350d2b96'/>
<id>urn:sha1:2463a6d6ac3fb53fa471c77bc585c8ef350d2b96</id>
<content type='text'>
It needs to do the bitmasking that was only added to ColorConverter
in #3611
</content>
</entry>
<entry>
<title>EPaperDisplay: add rotation property</title>
<updated>2020-11-19T00:06:31+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-11-19T00:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f61f8f999b5eeb8a545f5cea13b30ac5b3aeb04a'/>
<id>urn:sha1:f61f8f999b5eeb8a545f5cea13b30ac5b3aeb04a</id>
<content type='text'>
untested, because I don't want to mess my magtag demo up :) but it builds
</content>
</entry>
<entry>
<title>Add .busy property to EPaperDisplay</title>
<updated>2020-11-14T02:57:52+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-11-12T00:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=78ccac930fbcb3dddd3a1a79809a2ec371d34c6a'/>
<id>urn:sha1:78ccac930fbcb3dddd3a1a79809a2ec371d34c6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add board.DISPLAY to MagTag. Fix luma computation</title>
<updated>2020-11-14T02:57:52+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-11-11T02:02:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8d4296f96430795936a22769da35732e5342b25c'/>
<id>urn:sha1:8d4296f96430795936a22769da35732e5342b25c</id>
<content type='text'>
* Initialize the EPaper display on the MagTag at start.
* Tweak the display send to take a const buffer.
* Correct Luma math
  * Multiply the blue component, not add.
  * Add all of the components together before dividing. This
    reduces the impact of truncated division.
</content>
</entry>
<entry>
<title>use full_change instead of moved</title>
<updated>2020-11-10T00:14:31+00:00</updated>
<author>
<name>foamyguy</name>
<email>foamyguy@gmail.com</email>
</author>
<published>2020-11-10T00:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=46c9b28dd880d4e2e2764ab67f64356b175f5f98'/>
<id>urn:sha1:46c9b28dd880d4e2e2764ab67f64356b175f5f98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>set moved true when unhiding tilegrid</title>
<updated>2020-11-09T01:28:46+00:00</updated>
<author>
<name>foamyguy</name>
<email>foamyguy@gmail.com</email>
</author>
<published>2020-11-09T01:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9adb77a2d0179f89c7402451f6b25be74629ffbd'/>
<id>urn:sha1:9adb77a2d0179f89c7402451f6b25be74629ffbd</id>
<content type='text'>
</content>
</entry>
</feed>
