amit-sides
24fcc3f955
Added type hints
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-08-26 20:44:27 +03:00
Amit Sides
98f026fbb4
Fixing comments for PR
2021-08-25 15:07:19 -07:00
Amit Sides
1b6283a5ae
Adding quick refresh support
2021-08-21 23:51:24 +03:00
microDev
78f073c457
Merge pull request #5138 from jepler/refresh-defaults
...
Displayio: change refresh minimum_frames_per_second default to 0
2021-08-13 09:35:50 +05:30
Jeff Epler
a89f1c806f
Update Display.c
2021-08-12 12:50:38 -05:00
Jeff Epler
e8df829714
Displayio: change refresh minimum_frames_per_second default to 0
...
Closes : #5133
2021-08-12 12:00:07 -05:00
James Carr
670d295db5
Update the __init__ documentation for EPaperDisplay.
...
The unknown parameter `single_byte_bounds` was removed.
The missing parameters `set_current_column_command` and `set_current_row_command` were added.
2021-08-12 14:05:17 +01:00
Kenny
6be952d3ba
found more documentation dependencies that needed updating
2021-08-05 00:13:10 -07:00
James Carr
45fd6dd68c
Remove the max_size parameter from displayio.Group
...
max_size has been ignored for a while with the intention of removing it in 7.0
2021-07-22 19:41:45 +01:00
Jeff Epler
7896bf7fa3
fix stubs
2021-07-19 10:35:17 -05:00
Jeff Epler
1bbe7282e0
OnDiskBitmap: Allow a filename to be passed to the constructor
...
.. eventually we'll phase out the old way of constructing with an
open file, but this allows for compatibility between 6.x and 7.0.
2021-07-19 10:08:40 -05:00
Scott Shawcroft
9fdecacec7
Merge pull request #4903 from jepler/split-type-objects
...
Split type objects
2021-07-12 16:37:55 -07:00
Jeff Epler
52540a9830
Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS
2021-07-12 06:57:59 -05:00
Jeff Epler
7302bc09a7
rename the type flag to EXTENDED for consistency
2021-07-09 14:59:37 -05:00
James Carr
2e068d0384
Minor docs fix in TileGrid.c
2021-07-07 22:30:30 +01:00
Jeff Epler
d37f8a1a5a
milestone: a selection of builds succeed
2021-07-06 10:57:44 -05:00
Jeff Epler
d83a21b984
ColorConverter: Add "BGR" color modes.
...
The BGR565_SWAPPED mode is needed for OV2640 cameras.
2021-06-30 10:29:31 -05:00
Dan Halbert
259d5b9e7d
Fix displayio.Display __init__() signature documentation
2021-06-28 09:32:50 -04:00
Jeff Epler
193f8b7264
Fixes needed after micropython merges
...
.. this branch was old and stale, it turns out
2021-05-28 11:13:55 -05:00
Jeff Epler
9df8f235b1
OnDiskBitmap: INCOMPATIBLE CHANGE: Allow them to use palettes
...
Before, when an OnDiskBitmap was a paletted bitmap type, the palette
was internal to the OnDiskBitmap, and it internally performed the palette
conversion itself. When using with a tilegrid, a ColorConverter() object
always had to be passed.
Now, an OnDiskBitmap has a "pixel_shader" property. If the bitmap is
a paletted bitmap type, it is a (modifiable) Palette object. Otherwise,
it is a ColorConverter() object as before. This allows palette effects
to be applied to paletted OnDiskBitmaps.
Code that used to say:
```python
face = displayio.TileGrid(odb, pixel_shader=displayio.ColorConverter())
```
must be updated to say:
```python
face = displayio.TileGrid(odb, pixel_shader=odb.pixel_shader)
```
Compatible code for 6.x and 7.x can say
```python
face = displayio.TileGrid(odb, pixel_shader=getattr(odb, 'pixel_shader', ColorConverter())
```
2021-05-28 10:53:21 -05:00
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod
2021-05-05 17:51:52 -07:00
Jeff Epler
52589691b8
Merge pull request #4651 from lesamouraipourpre/minor-docs-fixes
...
Minor docs fixes in displayio.Bitmap
2021-04-29 08:12:47 -05:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
Jeff Epler
8565a9ab90
shared-bindings: Fix type of Colorspace values in docs
2021-04-23 12:39:37 -05:00
Jeff Epler
05a81a066e
displayio: Improve docs about Colorspaces
2021-04-23 09:57:24 -05:00
James Carr
0be610fd2b
Changes as requested for Bitmap docs.
2021-04-23 14:41:47 +01:00
James Carr
07059dd373
Minor docs fixes in displayio.Bitmap
2021-04-23 12:56:44 +01:00
Jeff Epler
76d68f21ac
displayio: Add RGB555/565/_SWAPPED format support
...
This is helpful when displaying frames from an OV7670 camera, which
uses the RGB565_SWAPPED format internally.
2021-04-19 10:23:47 -05:00
James Carr
8958c1e227
Minor documentation fixes in displayio
2021-04-06 10:47:46 +01:00
Jeff Epler
78089107bc
displayio.Bitmap: Allow modification though the buffer protocol
...
It is required to call .dirty() with appropriate arguments after modifications through the buffer protocol, or the display might not be updated correctly.
2021-04-03 10:41:20 -05:00
Jeff Epler
3f158450f9
can't xref this right now
2021-04-02 13:09:23 -05:00
Jeff Epler
758dc81fcb
displayio: ulab.frombuffer -> ulab.numpy.frombuffer
2021-04-02 13:09:23 -05:00
Jeff Epler
623ece2c73
Merge pull request #4429 from jepler/displayio-bitmap-memoryview
...
displayio.Bitmap: Make memoryview()able
2021-03-18 18:38:25 -05:00
Jeff Epler
720d242b4f
doc fix
2021-03-17 16:38:10 -05:00
Jeff Epler
c157ada90c
displayio.Bitmap: Make memoryview()able
2021-03-17 16:26:45 -05:00
Kevin Matocha
592f89f6ae
add back peculiar r to docstring
2021-03-16 20:45:55 -05:00
Kevin Matocha
5c3cce6f5d
add is_transparent getter to displayio.Palette
2021-03-16 20:43:23 -05:00
gamblor21
bdc368895f
Formatting
2021-03-16 08:39:44 -05:00
Mark
e326d7ca80
Merge branch 'main' into rp_dp_parallel
2021-03-15 20:00:13 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
gamblor21
5689307798
Changed frequency to match PIO having 2 instructions
2021-03-11 19:32:44 -06:00
gamblor21
b02b1e9979
Set frequency default 60Mhz
2021-03-11 19:32:44 -06:00
gamblor21
56a219911f
Add frequency support to parallel bus
2021-03-11 19:32:43 -06:00
Radomir Dopieralski
24473b7983
Separate out mp_obj_list_insert for use in display.Group
...
Note that for some reason this makes the binary 500 bytes larger!
2021-02-27 21:13:55 +01:00
Radomir Dopieralski
38fb7b511b
Remove max_size from displayio.Group
...
Still accept it as an argument. Add deprecation note.
2021-02-27 20:52:38 +01:00
Radomir Dopieralski
e9953754ea
Add displayio.Group.sort() method
2021-02-27 20:52:38 +01:00
arturo182
ca1a85c47f
displayio: Fix ColorConverter make_* methods
2020-11-25 03:39:14 +01:00
Jeff Epler
f61f8f999b
EPaperDisplay: add rotation property
...
untested, because I don't want to mess my magtag demo up :) but it builds
2020-11-18 18:06:31 -06:00
Scott Shawcroft
78ccac930f
Add .busy property to EPaperDisplay
2020-11-13 18:57:52 -08:00