summaryrefslogtreecommitdiff
path: root/shared-bindings/_protomatter/Protomatter.c
AgeCommit message (Collapse)Author
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-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-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