Commit Graph

1583 Commits

Author SHA1 Message Date
Lucian Copeland
d35a307ffa Merge branch 'sleep-api-update' into stm-alarm 2021-03-29 12:27:25 -04:00
Lucian Copeland
00178ca5e0 Sleep API changes, redundancy fix 2021-03-27 14:14:57 -04:00
Lucian Copeland
529fb52309 Style changes and wakeup detection 2021-03-27 13:16:12 -04:00
Jeff Epler
583fc76cf5 run uncrustify 2021-03-26 15:38:20 -05:00
Jeff Epler
a70b679ed5 bitbangio.SPI.read: Support write_value, fix some other nits 2021-03-26 12:24:09 -05:00
Dan Halbert
1512ca520b Fix PWMOut non-error handling and never reset 2021-03-19 09:57:21 -04:00
Dan Halbert
b2d913412f merge from upstream 2021-03-18 23:14:43 -04:00
Jeff Epler
d0125617fd
Merge pull request #4428 from kmatch98/bitmap-read-2
Add `reverse_rows` to speedy bitmaptools.readinto function
2021-03-18 18:41:35 -05:00
Jeff Epler
623ece2c73
Merge pull request #4429 from jepler/displayio-bitmap-memoryview
displayio.Bitmap: Make memoryview()able
2021-03-18 18:38:25 -05:00
microDev
bd95914e88
implement function to check usb connection 2021-03-18 10:00:01 +05:30
Scott Shawcroft
670375dc0d
Merge pull request #4426 from kmatch98/main
Add getter for displayio.Palette item transparency/opacity.
2021-03-17 18:13:39 -07:00
Jeff Epler
720d242b4f doc fix 2021-03-17 16:38:10 -05:00
Jeff Epler
c157ada90c displayio.Bitmap: Make memoryview()able 2021-03-17 16:26:45 -05:00
Kevin Matocha
c37a1f45f3 ran pre-commit for formatting fixes 2021-03-17 11:00:32 -05:00
Kevin Matocha
ef91e1752c merge upstream/main 2021-03-17 09:30:51 -05:00
Jeff Epler
bfc8c89536
Merge pull request #4403 from jepler/bitmap-read-2
bitmaptools: Add readinto, arrayblit
2021-03-17 07:57:31 -05:00
Kevin Matocha
592f89f6ae add back peculiar r to docstring 2021-03-16 20:45:55 -05:00
Kevin Matocha
5c3cce6f5d add is_transparent getter to displayio.Palette 2021-03-16 20:43:23 -05:00
Jeff Epler
074ba1daff more doc fixes 2021-03-16 19:05:06 -05:00
Jeff Epler
5810004bc9 fix doc error 2021-03-16 19:01:38 -05:00
Jeff Epler
e1dd396de7 fix stub docs 2021-03-16 13:37:04 -05:00
Jeff Epler
58679dc038 Merge remote-tracking branch 'origin/main' into bitmap-read-2 2021-03-16 12:21:50 -05:00
Jeff Epler
97b6664201 re-format with uncrustify 2021-03-16 12:20:09 -05:00
Kevin Matocha
870dadc85a update more docstrings 2021-03-16 10:42:46 -05:00
Kevin Matocha
a367e84cea update docstrings 2021-03-16 10:35:40 -05:00
Kevin Matocha
227ac67463 Add reverse_rows option to bitmaptools.readinto 2021-03-16 10:01:12 -05:00
gamblor21
bdc368895f Formatting 2021-03-16 08:39:44 -05:00
Jeff Epler
542fb58673 add arrayblit 2021-03-15 20:36:44 -05:00
Mark
e326d7ca80
Merge branch 'main' into rp_dp_parallel 2021-03-15 20:00:13 -05:00
microDev
a52eb88031
run code formatting script 2021-03-15 19:27:36 +05:30
Jeff Epler
3cbff45f9a
Merge pull request #4407 from jposada202020/RTC_doc_corrections
RTC and Touchin docs changes
2021-03-14 20:52:19 -05:00
Jeff Epler
651f54b4cc fix docs 2021-03-14 15:47:15 -05:00
jposada202020
1386a8104a RTC and Touchin docs changes 2021-03-14 16:20:40 -04:00
Jeff Epler
da030ce7d8
Merge pull request #4402 from jposada202020/analogio_doc_corrections
Change in documentation in Analogio
2021-03-14 15:00:48 -05:00
Jeff Epler
9133b23a37 bitmaptools: Add readinto
When reading uncompressed bitmap data directly, readinto can work
much more quickly than a Python-coded loop.

On a Raspberry Pi Pico, I benchmarked a modified version of
adafruit_bitmap_font's pcf reader which uses readinto instead of
the existing code. My test font was a 72-point file created from Arial.

This decreased the time to load all the ASCII glyphs from 4.9 seconds to
just 0.44 seconds.

While this attempts to support many pixel configurations (1/2/4/8/16/24/32
bpp; swapped words and pixels) only the single combination used by
PCF fonts was tested.
2021-03-14 13:57:46 -05:00
jposada202020
6a56d5dc73 Change in documentation in Analogio 2021-03-14 04:15:35 -04:00
Scott Shawcroft
b413535ee1
Merge pull request #4376 from kmatch98/displayio_bitmap
add fill_region and draw_line to bitmap_tools
2021-03-12 16:50:39 -08:00
gamblor21
5689307798 Changed frequency to match PIO having 2 instructions 2021-03-11 19:32:44 -06:00
gamblor21
b02b1e9979 Set frequency default 60Mhz 2021-03-11 19:32:44 -06:00
gamblor21
56a219911f Add frequency support to parallel bus 2021-03-11 19:32:43 -06:00
Lucian Copeland
6b2c9985ff Extract RTC, implement fake RTC deepsleep 2021-03-11 17:50:05 -05:00
Kevin Matocha
a9afa0d9d4 Move input checks to shared-module, update docstrings 2021-03-11 16:18:17 -06:00
Dan Halbert
08c5dbb003 use return values in STM PWMOut constructor, not exceptions 2021-03-11 08:52:47 -05:00
Kevin Matocha
85f0f07d51 add fill_region and draw_line to bitmaptools 2021-03-10 11:37:27 -06:00
Dan Halbert
24ac8152dd Clarify further; fix type error 2021-03-07 20:32:59 -05:00
Dan Halbert
1a6c021239 Add clarifying comment re carriage-return char. 2021-03-07 17:04:27 -05:00
Dan Halbert
a6cb7d7069 Document readline() and readlines() 2021-03-07 15:34:07 -05:00
Dan Halbert
d919b7fa4a fix #4352 2021-03-07 14:13:20 -05:00
Dan Halbert
8594396a07 Add caveat for usb_cdc.Serial.connected 2021-03-07 14:07:07 -05:00
Jeff Epler
b23c5b2d68 nvm: fix doc markup
closes #4336
2021-03-06 07:54:54 -06:00