summaryrefslogtreecommitdiff
path: root/shared-bindings
AgeCommit message (Collapse)Author
2020-04-21displayio: Fix "bus type" problem introduced at 8cba145c9029Jeff Epler
When allocate_display_bus_or_raise was factored out, the assignment of the bus's Python type was lost. Restore it. This would have affected displays of any type other than RGBMatrix, when they were created dynamically. Boards with displays configured in flash were unaffected. Closes: #2792
2020-04-19RGBMatrix: nonessential change to kick ActionsJeff Epler
2020-04-17framebufferio: update copyright informationJeff Epler
2020-04-17RGBMatrix: this comment no longer describes the codeJeff Epler
... allocate_display_bus_or_raise() uses fixed storage, not heap storage.
2020-04-17RGBMatrix: documentation got behind the codeJeff Epler
2020-04-17RGBMatrix: finish renaming from ProtomatterJeff Epler
This gets all the purely internal references. Some uses of protomatter/Protomatter/PROTOMATTER remain, as they are references to symbols in the Protomatter C library itself.
2020-04-17RGBMatrix: remove unneeded propertiesJeff Epler
2020-04-17framebufferio: get width, etc., from protocol, not object propertyJeff Epler
2020-04-17Rename Protomatter -> RGBMatrixJeff Epler
This is a quick rename, it changes the user-facing names but not the internal names of things.
2020-04-17protomatter: move get_width/height to common_halJeff Epler
2020-04-17fix doc buildJeff Epler
2020-04-17framebufferio: get more properties direct from underlying framebufferJeff Epler
2020-04-17Rename _protomatter -> protomatterJeff Epler
I originally believed that there would be a wrapper library around it, like with _pixelbuf; but this proves not to be the case, as there's too little for the library to do.
2020-04-17framebufferio: get width, height from framebuffer propertiesJeff Epler
2020-04-17Protomatter: add width, height propertiesJeff Epler
2020-04-14Protomatter: Make all arguments kw-only, add rgb count and optional height ↵Jeff Epler
checking They're not readily distinguishable by type. I also added the requested height optional parameter; this is checked against the computed one. It's not feasible to use this parameter to artificailly reduce the number of used rows, because changes in the underlying C protomatter library would be required. Finally, I added a better error message when the number of RGB pins was not what was expected.
2020-04-14protomatter: Respond to review commentsJeff Epler
- rename oe_pin -> output_enable_pin - improve and reorganize docstrings - rename swapbuffers->refresh - rename "paused" -> "brightness", change semantics slightly - common_hal several functions - clarify why the common_hal routines can't be used directly in the protocol's function pointers - whitespace cleanups - remove prototypes for nonexistent functions
2020-04-14protomatter: clarify by comment why these functions existJeff Epler
2020-04-14framebufferio: move backlight down to the underlying framebufferJeff Epler
2020-04-14protomatter: code styleJeff Epler
2020-04-14protomatter: validate pins to give better error messageJeff Epler
The numbered error from the underlying library is not helpful for beginning users
2020-04-14protomatter: improve an error messageJeff Epler
2020-04-14FramebufferDisplay: remove probably not needed constructor argumentsJeff Epler
2020-04-14protomatter: make docstring match implementationJeff Epler
2020-04-14_protomatter: move get/set paused into shared-moduleJeff Epler
2020-04-14Make function name more descriptiveJeff Epler
2020-04-14use floor division in docstringJeff Epler
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler
2020-04-14displayio: implement, use allocate_new_display_bus_or_raiseJeff Epler
2020-04-14displayio: implement, use allocate_display_or_raiseJeff Epler
2020-04-14Merge pull request #2767 from jepler/update-ulabScott Shawcroft
ulab: Get updates from upstream
2020-04-14Merge pull request #2756 from caternuson/bitmap_fillScott Shawcroft
Add fill method to displayio.Bitmap
2020-04-13doc updatesJeff Epler
2020-04-09add docstring, clean upcaternuson
2020-04-09initial working fillcaternuson
2020-04-09ulab/__init__.rst: fix attribute name; uint8 -> uint16sommersoft
2020-03-31Merge pull request #2741 from tannewt/fix_packetbuffer_serverScott Shawcroft
Fix PacketBuffer server support
2020-03-28Merge pull request #2730 from tannewt/fix_fourwire_phase_polarityJeff Epler
Add polarity and phase to FourWire.
2020-03-26Don't break the function signatureScott Shawcroft
2020-03-25adding a backlight polarity flag to Displaysiddacious
2020-03-25Add exception on small buffer and fix Connecion WRITE handlingScott Shawcroft
2020-03-25Add polarity and phase to FourWire.Scott Shawcroft
It was fixed as 0/0 even though it used to get it from the current SPI state. This makes it more explicit with kwargs. Thanks to magpie_lark and kmatocha on the Adafruit Support forum for finding the issue: https://forums.adafruit.com/viewtopic.php?f=60&t=162515
2020-03-17Update shared-bindings/ulab/__init__.rstJeff Epler
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-03-17ulab: update documentationJeff Epler
2020-03-06Make ParallelBus reset ping arg requiredDan Halbert
2020-03-05Merge remote-tracking branch 'adafruit/master' into ↵Dan Halbert
assert_pin-and-mp_const_none-cleanup
2020-03-05rename routines to be clearer; fix wiznet arg typesDan Halbert
2020-02-29missing semicolonDan Halbert
2020-02-29update uses of assert_pin_free; remove redundant checksDan Halbert
2020-02-28new pin validation routines; don't use mp_const_none if NULL will doDan Halbert