root
fc21b30762
Make rotaryio object long-lived
2022-08-21 15:09:27 -05:00
gamblor21
f134f86291
Two small fixes, remove hardcoded height and non-scale issues
2022-08-19 15:13:38 -05:00
Dan Halbert
5a2d870a9b
Merge pull request #6741 from tannewt/remove_pulseout_pwm_param
...
Remove PWMOut parameter to PulseOut
2022-08-11 09:26:51 -04:00
Jeff Epler
c2a45c1f27
Merge pull request #6739 from jepler/qrio-esp32camera
...
Enable qrio to work with rgb565 data, including byte-swapped data
2022-08-10 13:54:40 -05:00
Jeff Epler
3c3b7cb1e7
whitespace in docstrings
2022-08-10 11:14:33 -05:00
Jeff Epler
5168f6ec1f
Add support for RGB565 images in qrio
...
Most cameras produce RGB565_SWAPPED data
2022-08-10 11:13:26 -05:00
Dan Halbert
02cc6c2aee
Merge remote-tracking branch 'adafruit/main' into remove-autobrightness
2022-08-10 08:35:53 -04:00
Dan Halbert
ce2bd9b9bc
Merge pull request #6712 from jepler/keyboard-keypad-ioctl
...
Make keypad select/poll'able, which leads to async goodness
2022-08-10 08:18:36 -04:00
Scott Shawcroft
e50fc237f8
Merge pull request #6730 from tannewt/remove_scanentry_all
...
Remove all kwarg from ScanEntry.matches
2022-08-09 22:03:14 -07:00
Jeff Epler
76f03a2bee
Make keypad select/poll'able for better async
...
This allows a small wrapper class to be written
```py
class AsyncEventQueue:
def __init__(self, events):
self._events = events
async def __await__(self):
yield asyncio.core._io_queue.queue_read(self._events)
return self._events.get()
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
pass
```
and used to just "await" the next event:
```py
async def key_task():
print("waiting for keypresses")
with keypad.KeyMatrix([board.D4], [board.D5]) as keys, AsyncEventQueue(keys.events) as ev:
while True:
print(await ev)
```
Because checking the empty status of the EventQueue does not enter
CircuitPython bytecode, it's assumed (but not measured) that this is
more efficient than an equivalent loop with an `await async.sleep(0)`
yield and introduces less latency than any non-zero sleep value.
2022-08-09 21:48:27 -05:00
Dan Halbert
41bcd7b260
Remove support for auto-brightness
2022-08-09 22:40:21 -04:00
Scott Shawcroft
35f3773e94
Remove PWMOut parameter to PulseOut
...
Fixes #3264
2022-08-09 14:55:13 -07:00
Scott Shawcroft
7a07247974
Remove all kwarg from ScanEntry.matches
...
Fixes #3007
2022-08-09 14:37:52 -07:00
Scott Shawcroft
554063a817
Merge branch 'main' into espressif-camera-2
2022-08-09 14:07:14 -07:00
Jeff Epler
c74746f052
Cross references in documentation always help
2022-08-09 12:20:02 -05:00
Dan Halbert
84807cd6eb
Change I2C terminology from "peripheral" to "target"
2022-08-09 13:13:19 -04:00
Jeff Epler
1a11ff864a
Merge remote-tracking branch 'origin/main' into espressif-camera-2
2022-08-05 21:08:12 -05:00
Jeff Epler
1da8065d6b
Merge remote-tracking branch 'origin/main' into espressif-camera-2
2022-08-05 16:38:51 -05:00
Scott Shawcroft
207311b02a
Merge branch 'main' into title_execution_status
2022-08-05 13:42:58 -07:00
gamblor21
9b9f8de0ba
Changed error handling to use new routine
2022-08-04 19:34:12 -05:00
Scott Shawcroft
5e015001c0
Add supervisor.runtime.autoreload
...
This replaces supervisor.enable_autoreload() and
supervisor.disable_autoreload(). It also allows user code to get
the current autoreload state.
Replaces #5352 and part of #5414
2022-08-04 16:34:25 -07:00
Scott Shawcroft
83cbbc9946
Add BLE status to title bar
2022-08-04 16:33:10 -07:00
gamblor21
0ca29fa213
Check if CS parameter is DigitalInOut type
2022-08-04 18:12:27 -05:00
Jeff Epler
64b1d003df
Allow a Bitmap to be constructed from a buffer (in C anyway)
...
.. so that Camera.take() can return one without copying
2022-08-04 15:11:58 -05:00
Jeff Epler
07afb3eab8
Fix typo
2022-08-04 15:11:49 -05:00
Jeff Epler
5ac3aeaac7
Remove unused header
2022-08-04 15:11:47 -05:00
Scott Shawcroft
c4c15206e7
Merge pull request #6608 from tannewt/web_workflow_port
...
Allow for dynamic reconfigure including port
2022-07-28 12:59:31 -07:00
Scott Shawcroft
babd4ee618
Tweaks based on review comments
2022-07-28 08:43:36 -07:00
Neradoc
eabe8b971a
list extensions instead of macros names ("bin,uf2" not BIN_UF2)
...
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Scott Shawcroft
78b4159448
Allow for dynamic reconfigure including port
2022-07-15 16:33:12 -07:00
Scott Shawcroft
01b18cc8dc
Merge pull request #6595 from Neradoc/add-root-group-to-framebufferio
...
Add root_group accessor in framebufferio.FramebufferDisplay
2022-07-14 11:05:14 -07:00
Neradoc
17d65fe8f3
fix the docs
2022-07-14 13:31:41 +02:00
Neradoc
626296b613
implement root_group in framebufferio.FramebufferDisplay
2022-07-14 11:47:36 +02:00
Scott Shawcroft
2f9de1cb07
Merge pull request #6584 from tannewt/websocket_serial
...
Add WebSocket at /cp/serial/
2022-07-13 14:15:49 -07:00
Scott Shawcroft
f869a86d9a
Merge pull request #6581 from FoamyGuy/docs_links_foamyguy_0
...
adding links in docs
2022-07-13 10:30:35 -07:00
Scott Shawcroft
23bbb19138
Merge remote-tracking branch 'adafruit/main' into websocket_serial
2022-07-12 13:15:38 -07:00
Scott Shawcroft
425a0efeca
A bit more cleanup
2022-07-11 14:53:20 -07:00
foamyguy
e92ac0caf4
adding links in docs
2022-07-11 11:04:06 -05:00
Tod Kurt
5bf07d9662
Update shared-bindings/wifi/Radio.h
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-07-09 22:17:35 -07:00
Tod Kurt
d3e1d1b104
Fix #6559
2022-07-07 19:42:11 -07:00
Dan Halbert
8814ee03f1
Merge pull request #6542 from todbot/wifi-tx-power
...
Add wifi.radio.tx_power
2022-07-01 14:09:08 -04:00
Scott Shawcroft
7589e53fea
WIP websocket accept and hashlib
2022-07-01 10:18:33 -07:00
Tod Kurt
2d7793e140
update tx_power description per dhalbert suggestion
2022-07-01 09:49:59 -07:00
Tod Kurt
d13f24648e
first cut at wifi.radio.tx_power
2022-06-30 15:27:57 -07:00
Tod Kurt
2a563cc8ba
first cut at wifi.radio.tx_power
2022-06-30 15:10:16 -07:00
Scott Shawcroft
41039445c9
Clean up and add docs
2022-06-27 13:39:09 -07:00
Scott Shawcroft
3cd05291d0
Static files + welcome page
2022-06-27 13:39:09 -07:00
Scott Shawcroft
4f0a7aedfd
WIP adding devices.json and auth
2022-06-27 13:34:13 -07:00
Scott Shawcroft
0882cbf823
web server kinda works
2022-06-27 13:34:13 -07:00
Scott Shawcroft
61d0f7947b
WIP doesn't flush response before closing
2022-06-27 13:34:13 -07:00