Melissa LeBlanc-Williams
ea39d7089f
Updated docstring stuff
2023-08-08 14:21:55 -07:00
Melissa LeBlanc-Williams
b25d3131a3
Update doc string
2023-08-08 12:54:14 -07:00
Melissa LeBlanc-Williams
549bbdc31c
Alphablend changes
2023-08-08 12:42:48 -07:00
Jeff Epler
ddeb27d335
the note is in its attack phase
2023-08-04 18:40:30 -05:00
Scott Shawcroft
9152659912
Merge remote-tracking branch 'adafruit/main' into cache_config_desc
2023-08-03 13:37:53 -07:00
Scott Shawcroft
59e6cab252
Cache configuration descriptor
...
We use it to open endpoints as they are used. Fetching the descriptor
as needed can cause issues with devices that we're expecting a control
packet while another transaction was ongoing. Specifically, a usb
thumb drive didn't expect a control transaction while doing a SCSI
transaction.
This PR also aborts transactions on timeout or ctrl-c interrupt. It
doesn't always recover though...
2023-08-02 14:26:11 -07:00
Jeff Epler
16937b8a0d
Fix markup of bitmaptools.blit stubs
...
this prevented bitmaptools.blit from properly appearing in documentation.
2023-08-02 10:54:47 -05:00
Scott Shawcroft
03261fe188
Merge pull request #8191 from gaweng/main
...
displayio: added Mapping to bits_per_value getter
2023-07-24 10:18:56 -07:00
Scott Shawcroft
be0028ec16
Merge pull request #8192 from gaweng/ssl
...
ssl: Mapping python None to NULL in cadata var
2023-07-24 10:18:09 -07:00
Gaweng Tan
8140d0cb03
Mapping python None to NULL in cadata var
2023-07-22 14:34:06 +02:00
Gaweng Tan
e58496feb2
added Mapping to bits_per_value getter
2023-07-22 13:26:34 +02:00
Scott Shawcroft
924422eff8
Merge remote-tracking branch 'adafruit/main' into three_small
2023-07-21 09:37:26 -07:00
Jeff Epler
60b233f160
document EnvelopeState
2023-07-20 16:26:07 -05:00
Jeff Epler
29a4364ba7
fix method signature
2023-07-20 14:05:56 -05:00
Scott Shawcroft
5f082561b3
Unify some error strings
2023-07-20 11:20:32 -07:00
Jeff Epler
346f08f8b9
synthio: Add Synthesizer.note_state
...
This enables the specific use case of checking whether a note's release
phase has ended, but is also potentially useful to implement a sort of
"voice stealing" algorithm in Python code, which can take account of
the note's envelope state as well as other factors specific to the
program.
2023-07-20 13:16:00 -05:00
Scott Shawcroft
305303996d
Merge pull request #8182 from tannewt/usb_host_singleton
...
Make usb_host.Port a singleton
2023-07-19 15:04:19 -07:00
Dan Halbert
74eb360922
Merge pull request #8143 from kolkmvd/ShiftRegister-multi-data-pin
...
Extended ShiftRegisterKeys to support multiple data pins with shared clock and latch
2023-07-18 23:30:13 -04:00
Jeff Epler
3ec9f8a118
Merge pull request #8136 from FoamyGuy/blit_skip_self_index
...
adding skip_self_index argument to bitmap.blit()
2023-07-18 15:17:28 -05:00
Scott Shawcroft
1629faf8b3
Make usb_host.Port a singleton
...
This allows you to initialize usb_host.Port once successfully and
then returns the same object as long as you pass the same arguments
in. It does allow you to fix incorrect pins but not switching from
one valid set to another. (It needs a reset for that.)
This also moves hcd cache operations to RAM so that they don't
access the cache when doing maintenance.
2023-07-18 10:40:54 -07:00
Scott Shawcroft
a2002e364c
Merge pull request #8165 from anecdata/wifi_docs
...
Networking docs updates: Access Point, MDNS
2023-07-17 14:58:28 -07:00
Scott Shawcroft
2a83657b6f
Merge pull request #8161 from jepler/usb_host_keyboard
...
usb host: add keyboard map control in usb workflow
2023-07-17 14:57:13 -07:00
Jeff Epler
fd1fdee312
move set_user_keymap to usb_host module
2023-07-17 09:08:13 -05:00
Dan Halbert
fddb582390
Merge pull request #8180 from anecdata/ipv4_address_ap-read-only
...
docs: wifi.radio.ipv4_address_ap is read-only
2023-07-16 23:54:42 -04:00
anecdata
8289722679
docs: wifi.radio.ipv4_address_ap is read-only
2023-07-16 20:35:49 -05:00
Jeff Epler
235983652f
throw an exception if os.getenv is used on a board without settings.toml support
2023-07-13 09:47:38 -05:00
anecdata
69d2f5ec2a
formatting fix
2023-07-12 23:53:52 -05:00
anecdata
d4ac8e75e8
raspberrypi: start AP before set IPv4
2023-07-12 23:41:14 -05:00
anecdata
cf5028e85b
mdns: can't use web workflow port
2023-07-12 23:32:44 -05:00
anecdata
efd4fffea6
start_ap max_connections ignored
2023-07-12 22:49:39 -05:00
Jeff Epler
910fcf1c93
usb host keyboard: add keymap support
...
This is confined to pure ASCII, but does support Alt Gr. This is enough
to make a French keyboard layout work:
* home row is "qsdfghjklm"
* numerals are all shifted
* keys like {} require Alt Gr
While not tested, this should also support layouts like Colemak with
the necssary keymap file.
Layouts can be produced from Neradoc's keyboard layout modules on the
device & loaded at runtime. Code to do so is at
https://gist.github.com/jepler/597c0a00e0eb014a433e03c0ae363a08
as well as a sketch of how an extended format could support dead keys &
the full Unicode BMP instead of just ASCII.
2023-07-12 07:04:56 -05:00
Marco van der Kolk
bdf9336b80
Improved help text
...
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-11 12:09:51 +02:00
Marco van der Kolk
0c606c534c
Documentation: Sequences are supported, not just Lists
...
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-11 11:18:29 +02:00
Scott Shawcroft
2686beab36
Basic USB host support and keyboard workflow
...
Connects up read, write and ctrl_transfer to TinyUSB. USB Host
support is available on iMX RT and RP2040.
Fixes #6527 (imx) and fixes #5986 (rp2).
2023-07-10 14:22:21 -07:00
Marco van der Kolk
f8edecf473
corrected formatting
2023-07-10 22:16:22 +02:00
kolkmvd
2860593425
fixed missing comma
2023-07-10 12:28:36 +02:00
Marco van der Kolk
21d08646e1
updated documentation
2023-07-10 12:04:26 +02:00
Marco van der Kolk
5fcd90d8fb
Extended to support multiple data pins
...
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-06 23:40:47 +02:00
foamyguy
72857994f2
change skip_index to skip_source_index
2023-07-05 17:27:41 -05:00
foamyguy
16d92ddd34
docs fix
2023-07-02 14:57:44 -05:00
foamyguy
96d3e662b3
refactor bitmap.blit into bitmaptools
2023-07-02 14:35:40 -05:00
foamyguy
abf15125ff
adding skip_self_index argument to bitmap.blit()
2023-07-01 11:50:24 -05:00
MicroDev
25bacc3042
Merge pull request #8125 from jimmo/zlib-docs
...
shared-bindings/zlib: Fix docs for zlib.decompress.
2023-06-28 08:30:58 +05:30
Jim Mussared
d3aea0e15a
shared-bindings/zlib: Fix docs for zlib.decompress.
...
The docs say the method is called `zlib_decompress` but should be
just `decompress`.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-28 07:59:45 +10:00
foamyguy
c4b57dc2fe
fix shape.set_boundary()
2023-06-24 12:42:00 -05:00
Dan Halbert
a84551afb7
Merge pull request #8105 from dhalbert/authmode-doc
...
improve start_ap() doc; make "authmode" use consistent internally
2023-06-23 12:51:26 -04:00
Dan Halbert
dc13a8036b
Merge pull request #8104 from dhalbert/rp2040-countio-doc
...
note RP2040 countio limitations
2023-06-22 18:37:49 -04:00
Dan Halbert
540bf58102
improve start_ap() doc; make "authmode" use consistent internally
2023-06-22 16:24:18 -04:00
Dan Halbert
8acc8581df
note RP2040 countio limitations
2023-06-22 14:56:46 -04:00
Dan Halbert
1f2a1a6e78
Improve OnDiskGif doc; check image width
2023-06-22 14:24:48 -04:00