summaryrefslogtreecommitdiff
path: root/shared-bindings
AgeCommit message (Collapse)Author
2021-03-29Add a missing parameter to an error message (Fixes #4505)James Carr
2021-03-29Merge pull request #4501 from jepler/rgbmatrix-memoryviewDan Halbert
RGBMatrix: fix memoryview(matrix)
2021-03-27RGBMatrix: fix memoryview(matrix)Jeff Epler
Typical test: ```python import displayio import rgbmatrix import board displayio.release_displays() matrix = rgbmatrix.RGBMatrix( width=128, bit_depth=4, rgb_pins=[board.GP0, board.GP1, board.GP2, board.GP3, board.GP4, board.GP5], addr_pins=[board.GP6, board.GP7, board.GP8, board.GP9], clock_pin=board.GP10, latch_pin=board.GP11, output_enable_pin=board.GP12) mem = memoryview(matrix) mem[0] = 65535 # OK mem[0] = 65536 # errors (out of range) ```
2021-03-26run uncrustifyJeff Epler
2021-03-26bitbangio.SPI.read: Support write_value, fix some other nitsJeff Epler
2021-03-19Fix PWMOut non-error handling and never resetDan Halbert
2021-03-18merge from upstreamDan Halbert
2021-03-18Merge pull request #4428 from kmatch98/bitmap-read-2Jeff Epler
Add `reverse_rows` to speedy bitmaptools.readinto function
2021-03-18Merge pull request #4429 from jepler/displayio-bitmap-memoryviewJeff Epler
displayio.Bitmap: Make memoryview()able
2021-03-18implement function to check usb connectionmicroDev
2021-03-17Merge pull request #4426 from kmatch98/mainScott Shawcroft
Add getter for displayio.Palette item transparency/opacity.
2021-03-17doc fixJeff Epler
2021-03-17displayio.Bitmap: Make memoryview()ableJeff Epler
2021-03-17ran pre-commit for formatting fixesKevin Matocha
2021-03-17merge upstream/mainKevin Matocha
2021-03-17Merge pull request #4403 from jepler/bitmap-read-2Jeff Epler
bitmaptools: Add readinto, arrayblit
2021-03-16add back peculiar r to docstringKevin Matocha
2021-03-16add is_transparent getter to displayio.PaletteKevin Matocha
2021-03-16more doc fixesJeff Epler
2021-03-16fix doc errorJeff Epler
2021-03-16fix stub docsJeff Epler
2021-03-16Merge remote-tracking branch 'origin/main' into bitmap-read-2Jeff Epler
2021-03-16re-format with uncrustifyJeff Epler
2021-03-16update more docstringsKevin Matocha
2021-03-16update docstringsKevin Matocha
2021-03-16Add reverse_rows option to bitmaptools.readintoKevin Matocha
2021-03-16Formattinggamblor21
2021-03-15add arrayblitJeff Epler
2021-03-15Merge branch 'main' into rp_dp_parallelMark
2021-03-15run code formatting scriptmicroDev
2021-03-14Merge pull request #4407 from jposada202020/RTC_doc_correctionsJeff Epler
RTC and Touchin docs changes
2021-03-14fix docsJeff Epler
2021-03-14RTC and Touchin docs changesjposada202020
2021-03-14Merge pull request #4402 from jposada202020/analogio_doc_correctionsJeff Epler
Change in documentation in Analogio
2021-03-14bitmaptools: Add readintoJeff Epler
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-14Change in documentation in Analogiojposada202020
2021-03-12Merge pull request #4376 from kmatch98/displayio_bitmapScott Shawcroft
add fill_region and draw_line to bitmap_tools
2021-03-11Changed frequency to match PIO having 2 instructionsgamblor21
2021-03-11Set frequency default 60Mhzgamblor21
2021-03-11Add frequency support to parallel busgamblor21
2021-03-11Move input checks to shared-module, update docstringsKevin Matocha
2021-03-11use return values in STM PWMOut constructor, not exceptionsDan Halbert
2021-03-10add fill_region and draw_line to bitmaptoolsKevin Matocha
2021-03-07Clarify further; fix type errorDan Halbert
2021-03-07Add clarifying comment re carriage-return char.Dan Halbert
2021-03-07Document readline() and readlines()Dan Halbert
2021-03-07fix #4352Dan Halbert
2021-03-07Add caveat for usb_cdc.Serial.connectedDan Halbert
2021-03-06nvm: fix doc markupJeff Epler
closes #4336
2021-03-03Merge pull request #4315 from dhalbert/rp2040-i2c-short-writesDan Halbert
RP2040: Implement short I2C writes (2 bytes or less) using bitbangio