Dan Halbert
4f8ff12afa
wip
2021-08-14 12:36:40 -04:00
Dan Halbert
ffb9ecfeca
Merge pull request #5139 from tannewt/onewireio
...
Move OneWire to `onewireio`
2021-08-13 18:10:04 -04: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
Scott Shawcroft
7e55905d95
Fix up onewireio docs and other notes
...
Not all of the notes were marked correctly.
2021-08-12 11:15:04 -07:00
Jeff Epler
a89f1c806f
Update Display.c
2021-08-12 12:50:38 -05:00
Scott Shawcroft
de796e2304
Move OneWire to onewireio
from busio
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Jeff Epler
e8df829714
Displayio: change refresh minimum_frames_per_second default to 0
...
Closes : #5133
2021-08-12 12:00:07 -05:00
Scott Shawcroft
d294692c4e
Merge pull request #5100 from tannewt/fix_cp_irremote
...
Switch SAMD21 ticks to PER event
2021-08-12 09:52:29 -07: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
Scott Shawcroft
0c1d6cef75
Merge remote-tracking branch 'adafruit/main' into fix_cp_irremote
2021-08-11 13:43:59 -07:00
Scott Shawcroft
083960ce90
Fix SAMD51 builds and Prox Trinkey
...
Adds CIRCUITPY_BUSIO_UART to disable UART by raising ValueError
that no pins work.
2021-08-11 11:53:26 -07:00
microDev
93c9d59960
Merge branch 'main' into getpass
2021-08-10 01:00:10 +05:30
microDev
3495cc1ff6
Merge pull request #5110 from jepler/format-exception
...
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Kattni
c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
...
Draw protocol
2021-08-09 15:04:36 -04:00
microDev
32ee06b293
fix crash when traceback object is supplied
2021-08-09 22:53:23 +05:30
Jeff Epler
9a932a5a48
traceback: Implement format_exception
2021-08-09 08:27:28 -05:00
microDev
51f8603783
add getpass module
2021-08-09 17:50:28 +05:30
Kenny
a1fff320fb
add location property to vectorshape and all composed shapes
2021-08-08 00:14:53 -07:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
...
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Scott Shawcroft
be2342f32f
Merge pull request #5072 from microDev1/traceback
...
Add traceback module
2021-08-06 12:10:17 -07:00
Jeff Epler
67551c1ac0
qrio: Split QRInfo & PixelPolicy to their own .c/.h files
2021-08-06 09:53:17 -05:00
Jeff Epler
8e201d519e
better document constructor arguments
2021-08-05 15:04:28 -05:00
Jeff Epler
0fbe56c915
Better Document PixelPolicy and the pixel_policy argument
2021-08-05 12:27:49 -05:00
Jeff Epler
e5a57d2399
Fix function name in prototype
2021-08-05 12:24:12 -05:00
Jeff Epler
46ac717538
Rename qrinfo -> QRInfo
2021-08-05 12:24:12 -05:00
Jeff Epler
14f1d95d2d
qrio: Fix handling of 1-arg decode()
2021-08-05 12:24:12 -05:00
microDev
870f26bfc4
traceback module refinements
2021-08-05 20:11:15 +05:30
Kenny
6be952d3ba
found more documentation dependencies that needed updating
2021-08-05 00:13:10 -07:00
Kenny
85bf3d074f
stub checker does not approve of shared vectorshape properties
2021-08-04 23:55:03 -07:00
Jeff Epler
bd903f2f03
Add qrio: Decode QR codes with quirc lib
2021-08-04 09:16:00 -05:00
microDev
fb0f2583db
update traceback module
2021-08-04 12:22:21 +05:30
microDev
193a8d2e67
add traceback object
2021-08-04 12:10:57 +05:30
Scott Shawcroft
713c8e7b3f
Fix builds without the ble workflow
2021-08-03 14:36:41 -07:00
Kenny
48ea81e2f1
Vexing pedantry
...
Spaces deleted from phone
Eternal chore, lint
2021-08-03 11:25:31 -07:00
Kenny
739ef92fc9
Update __init__.h
...
More random spaces. Why isn’t this in a pre-commit check
2021-08-03 09:20:02 -07:00
Kenny
464281b881
Stub comma
2021-08-03 08:08:11 -07:00
Kenny
8607cdd783
vectorio: add draw protocol
...
* Removes VectorShape from user python interactions
* Re-integrates vectorio with displayio behind draw protocol implementations
* Implements draw protocol with VectorShape
* Composes VectorShape behaviors into Rectangle, Circle and Polygon
* Fixes terrible pixel garbage being left behind
* Improves redraw performance (heuristically) by tracking dirty area separately from current area.
Known Issues:
It does not work with transposed views.
2021-08-02 20:19:54 -07:00
Scott Shawcroft
1e225610cc
Add ability to disable BLE workflow
...
Call `supervisor.disable_ble_workflow()` and the BLE workflow will
be disabled until the chip is reset.
This also includes a couple fixes:
1. Terminals can now be deinit by setting the tilegrid to NULL. This
prevents using the tilegrid before display is init.
2. Fix BLE serial send amount when sending more than a single packet.
Fixes #5049
2021-08-02 18:37:19 -07:00
Kenny
0afd863224
vectorio: palettes don't color dirty rectangles
...
This is a breaking change with previous palette semantic with respect to python code that uses vectorio.
Displayio has breaking changes in cpy 7 for Group's removal of max_size parameter so this is as good a
time as any to break everything.
Currently:
To color vectorio shapes correctly you have to pass in a palette with length 2. Palette[0] must be set transparent and palette[1] must be the color you want.
New:
To color vectorio shapes correctly you pass in a palette with length >= 1. Palette[0] will be the color of the shape.
Also improves pixels per second when skipping areas that aren't covered by the shape.
2021-07-31 16:32:01 -07:00
Dan Halbert
e9369d50e1
Merge pull request #5067 from tannewt/pulseout_switch
...
Switch to pin, frequency and duty_cycle PulseOut
2021-07-28 14:58:06 -04:00
microDev
f371c0a609
add traceback module
2021-07-28 18:06:23 +05:30
Dan Halbert
b0fb709d83
more gamepad removal
2021-07-26 23:34:25 -04:00
Dan Halbert
901a6c27c0
remove gamepad; deprecate gamepadshift
2021-07-26 22:15:09 -04:00
Scott Shawcroft
412eb87080
Switch to pin, frequency and duty_cycle PulseOut
...
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0
This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.
Most of the way for #3264
Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07:00
Christian Walther
0bdff4fd5f
Remove addressed TODO comments
2021-07-23 21:00:00 +02:00
microDev
e790ff7327
Merge pull request #5036 from tannewt/esp_oserror0
...
Remove OSError(0) and old network modules
2021-07-23 11:00:56 +05:30
Scott Shawcroft
beda1f7998
Merge pull request #5037 from hierophect/getprevtraceback
...
Add supervisor.get_previous_traceback() function.
2021-07-22 17:00:14 -07:00
Scott Shawcroft
779b5c1850
Merge pull request #5040 from lesamouraipourpre/max-size
...
Remove the max_size parameter from displayio.Group
2021-07-22 16:56:14 -07:00
Scott Shawcroft
2cb25622d0
Comment where -2 value comes from
2021-07-22 16:38:48 -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