Dan Halbert
2693a4cfe1
Merge pull request #6069 from gamblor21/uzlib-module
...
zlib Module
2022-04-06 12:06:44 -04:00
Dan Halbert
83e1b5b058
Merge pull request #6248 from jepler/refactor-keypad
...
refactor keypad to share more code; fix initial keys pressed
2022-04-06 09:37:43 -04:00
Dan Halbert
359d8e5773
Merge pull request #6234 from jepler/merge-7.2.x
...
Merge 7.2.x
2022-04-05 16:53:22 -04:00
Jeff Epler
d7c86c0e3e
refactor keypad to share more code
...
This saves 444 bytes on the pygamer build (both commits taken together)
testing performed:
* pygamer (samd51) with ShiftRegisterKeys
* macropad (rp2040) with Keys
* UM feather s2 (esp32-s2) with KeyMatrix
Result:
* all ports still worked nicely
* keys held down at start always registered (>2 trials all boards, >100 trials esp32-s2)
* keys held down are immediately registered after reset() (>100 trials esp32-s2)
* double .reset() is OK, accessing .events throws (only tested esp32-s2)
2022-04-05 14:50:30 -05:00
Jeff Epler
203dad11bf
keypad: scan immediately on construct, .reset()
2022-04-05 14:50:30 -05:00
Jeff Epler
fe98248a3d
Merge remote-tracking branch 'origin/7.2.x' into merge-7.2.x
2022-04-05 08:45:13 -05:00
Reece Robinson
4b0f80f081
Enable support for extended HID usage page and usage. Related to Support HID Usage Pages and Usages >255 #5529
2022-04-05 13:54:07 +12:00
Jeff Epler
683ece76db
MP3Decoder: Accurately inform when no more data
...
Some audio implementations, notably samd, really don't like it when
you return 0 samples of data. This was the case when reaching the
end of an MP3 file.
Now, we read forward in an MP3 file to the next sync word during
"get_buffer", so that we can accurately return GET_BUFFER_DONE when the
NEXT call WOULD HAVE resulted in 0 samples.
Tested with @gamblor21's "laugh.mp3" file on a Trellis M4 Express.
2022-04-04 09:16:27 -05:00
Mark
8ed7b114cd
Merge branch 'main' into uzlib-module
2022-04-03 11:48:37 -05:00
gamblor21
7d7e66f60f
Fix no scaled framebuffer display
2022-03-23 17:37:56 -05:00
gamblor21
f9d7f46d67
Removing DecompIO
2022-03-23 17:02:58 -05:00
foamyguy
fe8b9728e7
color index for vectorio shapes.
2022-03-19 11:30:37 -05:00
foamyguy
90fadc58fd
implement color_number argument for vectorio.Rectangle
2022-03-18 18:28:29 -05:00
Scott Shawcroft
dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2
2022-03-15 13:56:11 -07:00
Scott Shawcroft
32ac396a41
Further refine autoreload
...
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.
We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
2022-03-14 16:49:30 -07:00
Dan Halbert
e4cd9690f1
rework auto-reload delay logic
2022-03-11 14:03:04 -05:00
Scott Shawcroft
00dcf6bd03
Tweaks from review
2022-03-11 10:51:50 -08:00
Scott Shawcroft
83593a1558
Start of USB host API
...
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)
Related to #5986
2022-03-07 18:07:25 -08:00
Scott Shawcroft
08b44eade5
Merge pull request #6114 from pewpew-game/displayio-9bit
...
Add support for 9-bit mode to displayio.FourWire
2022-03-04 16:55:02 -08:00
Radomir Dopieralski
102ee716a7
Add support for 9-bit mode to displayio.FourWire
...
If the ``command`` pin is None, that information will instead be
sent as a ninth bit in the SPI transactions.
Fix #6109
2022-03-04 22:59:17 +01:00
Tsutomu IKEGAMI
c9aa4527a9
Fix freeze on bitmaptools.dither
2022-03-04 17:06:07 +09:00
Dan Halbert
a45f9a83ea
Merge remote-tracking branch 'adafruit/7.2.x' into merge-7.2.x-to-main
2022-02-24 13:07:56 -05:00
Kevin Matocha
790af2d9a6
fix REPL terminal garbled characters upon code.py finished
2022-02-21 14:58:16 -06:00
Kevin Matocha
6b2266b240
retains REPL terminal data after display.show(None) when terminal size is not changed
2022-02-21 10:33:48 -06:00
Kevin Matocha
03f42406d3
updated code so the REPL will retain its text if not resized when code stops
2022-02-21 10:33:08 -06:00
Michael Himing
4bd64885b4
msgpack.unpack requires a readable stream
2022-02-21 09:16:36 +11:00
gamblor21
664e02535b
Renaming and documentation
2022-02-20 15:32:44 -06:00
gamblor21
ba229f1007
Initial commit of uzlib module
2022-02-19 10:41:42 -06:00
Dan Halbert
fe6e03f504
Merge pull request #6013 from tannewt/esp_ble_gatt_client
...
Add S3 GATT client support
2022-02-17 16:02:11 -05:00
Tod Kurt
98ff9957fc
appease ci
2022-02-10 17:14:07 -08:00
Tod Kurt
17440ec10c
fix #6015
2022-02-10 16:10:05 -08:00
Scott Shawcroft
8958e7ef08
Add S3 GATT client support
...
This allows you to connect to GATT services on the other device.
It also adds connection initiation (GAP central).
More progress on #5926
2022-02-10 11:31:57 -08:00
Scott Gauche
3b418dbddc
change half_duplex to be on spi construct
2022-02-08 21:37:38 -05:00
Dan Halbert
a39f0cfede
Merge pull request #5977 from prplz/bitbang-i2c
...
Bitbang i2c: switch scl to input for reading
2022-02-03 18:34:49 -05:00
Dan Halbert
4dc9b00221
Merge pull request #5954 from kmatch98/repl_wrangler
...
Expose display’s root_group, add function to resize REPL terminal
2022-02-02 15:36:22 -05:00
Michael Himing
5472f41860
Bitbang i2c: switch scl to input for reading
2022-02-02 22:54:35 +11:00
gamblor21
9cc470677e
merge
2022-02-01 20:31:13 -06:00
gamblor21
afb04f8378
Fix to i2c code
2022-02-01 20:27:54 -06:00
Mark
5972fdc108
Merge branch 'main' into is31pixelbuf
2022-02-01 13:59:28 -06:00
Scott Shawcroft
2964e966b1
Merge pull request #5958 from dhalbert/i2c-common-hal-write-read
...
I2c common hal write read
2022-02-01 11:08:50 -08:00
Dan Halbert
0b26dba44d
Merge pull request #5955 from prplz/is31fl3741
...
Only enable is31fl3741 for led glasses board
2022-02-01 12:55:31 -05:00
Kevin Matocha
0290fc35d2
Removing some unnecessary files that were changed
2022-02-01 08:28:40 -06:00
Dan Halbert
cc410ad6a3
common-hal I2C combined write_read
2022-01-31 22:03:30 -05:00
Dan Halbert
d5740c8ad9
Merge remote-tracking branch 'adafruit/main' into i2c-common-hal-write-read
2022-01-31 18:51:32 -05:00
Michael Himing
c92c8ac184
Only enable is31fl3741 for led glasses board
...
Also fix a warning in is31fl3741
2022-02-01 09:45:50 +11:00
Dan Halbert
25707d311a
Track creation of board.I2C(), etc.
2022-01-30 23:20:51 -05:00
Dan Halbert
83e6e6690a
wip; works on espressif
2022-01-29 22:44:27 -05:00
Dan Halbert
a672ee6da5
Merge pull request #5862 from jepler/shared-module-i2c
...
Remove unused files
2022-01-27 22:46:34 -05:00
Scott Shawcroft
5a6f456dbb
Add BLE scanning for S3 and C3.
...
Everything else should raise NotImplementedError.
First step in #5926
2022-01-25 16:28:46 -08:00
Dan Kulinski
19f9163892
Bringing branch up to date with current main
2022-01-25 11:02:00 -07:00