Scott Shawcroft
73ffd1f221
Merge pull request #6733 from Neradoc/nera-web-workflow-3
...
Use emojis as icons in the Web Workflow
2022-08-10 09:33:11 -07:00
Scott Shawcroft
741a5c2bec
Merge pull request #6722 from dhalbert/micropython-float-print-fix
...
py/formatfloat: Format all whole-number floats exactly.
2022-08-10 09:32:28 -07: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
Jeff Epler
86f9d98a5d
fix documentation of framebuffer_count
2022-08-10 11:12:54 -05:00
Dan Halbert
af64faae1e
switch back one I2C message
2022-08-10 12:06:43 -04:00
RetiredWizard
0b286b7e7e
does pre-commit not like split lines?
2022-08-10 10:44:06 -04:00
Dan Halbert
198c8fea11
merge from upstream and fix espressif_esp32s3_eye
2022-08-10 08:43:08 -04:00
Dan Halbert
02cc6c2aee
Merge remote-tracking branch 'adafruit/main' into remove-autobrightness
2022-08-10 08:35:53 -04:00
Dan Halbert
dd28341b94
Merge pull request #6728 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-08-10 08:20:31 -04:00
Hosted Weblate
d37d785e99
Merge remote-tracking branch 'origin/main'
2022-08-10 14:18:41 +02: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
Wellington Terumi Uemura
f5f77937d0
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1003 of 1003 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-08-10 09:18:42 +02:00
Hosted Weblate
2fb2023a50
Merge remote-tracking branch 'origin/main'
2022-08-10 07:03:20 +02: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
Hosted Weblate
8cea1b75dc
Merge remote-tracking branch 'origin/main'
2022-08-10 06:44:35 +02:00
Scott Shawcroft
138c92f035
Merge pull request #6727 from dhalbert/restore-deleted-modules
...
restore rainbowio and onewireio to a number of boards
2022-08-09 21:44:26 -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
Neradoc
9f4e8efd2e
new icons for web workflow with actual emojis
2022-08-10 02:12:07 +02:00
Hosted Weblate
4934ba10f1
Merge remote-tracking branch 'origin/main'
2022-08-10 01:59:17 +02:00
Scott Shawcroft
59b4353282
Merge pull request #6713 from tannewt/exception_filename
...
Add exception filename to title bar
2022-08-09 16:59:12 -07:00
Hosted Weblate
adec68863c
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-08-10 01:50:35 +02:00
Hosted Weblate
ed309fba90
Merge remote-tracking branch 'origin/main'
2022-08-10 01:50:32 +02:00
Jeff Epler
5040e1b7a5
Merge pull request #6684 from jepler/espressif-camera-2
...
Rewrite camera support for the Espressif port
2022-08-09 18:50:25 -05:00
Hosted Weblate
4e02fba009
Merge remote-tracking branch 'origin/main'
2022-08-10 01:40:26 +02:00
Scott Shawcroft
db837e2b48
Merge pull request #6725 from dhalbert/esp-stack-size-16kB
...
increase main task stack size from 8kB to 16kB
2022-08-09 16:40:16 -07:00
Scott Shawcroft
e0fb308972
Decode percent encoded file paths and set charset
...
Also, fix multiple file uploads from directory browser.
Fixes #6646
2022-08-09 16:36:57 -07: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
RetiredWizard
c8a5149560
Sort json data rather than index of table data
2022-08-09 17:13:18 -04:00
Scott Shawcroft
554063a817
Merge branch 'main' into espressif-camera-2
2022-08-09 14:07:14 -07:00
Hosted Weblate
854887c110
Merge remote-tracking branch 'origin/main'
2022-08-09 23:06:18 +02:00
Scott Shawcroft
5084de1b73
Merge pull request #6708 from strid3r21/main
...
Added Smart Bee Design Boards
2022-08-09 14:06:11 -07:00
Scott Shawcroft
51b65cbea5
Read websocket in background to look for ctrl-c
...
Otherwise busy Python code that isn't reading input characters
won't be interruptible.
Fixes #6707
2022-08-09 13:57:03 -07:00
Hosted Weblate
7a152794cd
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-08-09 22:12:31 +02:00
Dan Halbert
c4db71d12e
Merge pull request #6721 from dhalbert/i2c-target
...
Change I2C terminology from "peripheral" to "target"
2022-08-09 16:12:17 -04:00
Dan Halbert
34b22eac2a
restore rainbowio and onewireio to a number of boards
2022-08-09 16:10:17 -04:00
Scott Shawcroft
5fe90ec204
Add register library topic to design guide
2022-08-09 12:54:58 -07:00
Dan Halbert
4021b44a39
increase main task stack size from 8kB to 16kB
2022-08-09 15:00:01 -04:00
Scott Shawcroft
df52d995ed
Merge pull request #6714 from dannystaple/patch-2
...
Improve docs for rp2Pio Statemachine frequency
2022-08-09 10:50:27 -07:00
Scott Shawcroft
b3b27a1d80
Remove extra leading spaces
2022-08-09 10:45:47 -07:00
Scott Shawcroft
556d01a685
Remove extra newline at end of file
2022-08-09 10:44:57 -07:00
Dan Ellis
9b5e00fcc5
py/formatfloat: Format all whole-number floats exactly.
...
Formerly, py/formatfloat would print whole numbers inaccurately with
nonzero digits beyond the decimal place. This resulted from its strategy
of successive scaling of the argument by 0.1 which cannot be exactly
represented in floating point. The change in this commit avoids scaling
until the value is smaller than 1, so all whole numbers print with zero
fractional part.
Fixes issue #4212 .
Signed-off-by: Dan Ellis dan.ellis@gmail.com
2022-08-09 13:43:47 -04:00
Scott Shawcroft
ce1273be7a
Pull Feather S2 TFT LED down on reset
2022-08-09 10:42:56 -07:00
Scott Shawcroft
f3ca15265e
Change to line@filename
2022-08-09 10:42:20 -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
Scott Shawcroft
d95cfc3abc
Merge pull request #6719 from dhalbert/huzzah32-web-workflow
...
enable web workflow on Feather HUZZAH32
2022-08-09 10:08:39 -07:00
Jeff Epler
5a85b8ab95
improve docstrings based on my best sleuthing
2022-08-09 11:42:19 -05:00