summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio
AgeCommit message (Collapse)Author
2019-05-14Make Group iterable via a generic native iterator.Scott Shawcroft
Fixes #1694
2019-05-14Merge pull request #1883 from tannewt/fix_1881Dan Halbert
Check native object in case of early access
2019-05-14Update Palette.cMatt Land
Remove None, add in byte and bytearray examples
2019-05-13Check native object in case of early accessScott Shawcroft
If a native displayio object is accessed before it's super().__init__() has been called, then a placeholder is given that will cause a crash if accessed. This is tricky to get right so we detect this case and raise a NotInplementedError instead of crashing. Fixes #1881
2019-05-10add documentation of transparencyMatt Land
2019-05-10Add documentation for Palette shared binding Matt Land
Add documentation for the palette subscript operator and how to use it.
2019-04-18add Display.__init__() args for brightness and auto_brightnessDan Halbert
2019-04-18Turn off auto_brightness if brightness is setDan Halbert
2019-04-09Tweak pybadge and fix display bugsScott Shawcroft
* Update pybadge pins and flash for rev D * TileGrid now validates the type of the pixel_shader. * Display actually handles incoming subclass objects. * MicroPython will inspect native parents to see if special accessors are used.
2019-04-08Merge remote-tracking branch 'adafruit/master' into fix_cpx_displayScott Shawcroft
2019-04-08Reorganize board busses into shared-bindings and shared-module.Scott Shawcroft
2019-04-06Expose displayio.Display.busRadomir Dopieralski
With the bus exposed, we can send custom commands to the display, to leverage advanced features specific to the display, which are not exposed by default.
2019-04-05Always check TileGrid's x, yScott Shawcroft
When using an int index you could end up writing past the end of TileGrid's memory. Fixes #1747
2019-04-04Added option to easily treat SPI parameter data as commandsMelissa LeBlanc-Williams
2019-03-27Simplified cs toggling into fourwire onlyMelissa LeBlanc-Williams
2019-03-27Simplified into fourwire onlyMelissa LeBlanc-Williams
2019-03-26Comment CleanupMelissa LeBlanc-Williams
2019-03-26Removed parameter so CS is always toggledMelissa LeBlanc-Williams
2019-03-26Removed parameter so CS is always toggledMelissa LeBlanc-Williams
2019-03-26Merge branch 'master' of https://github.com/adafruit/circuitpython into ↵Melissa LeBlanc-Williams
ssd1351-fix
2019-03-26Merge branch 'master' of https://github.com/adafruit/circuitpythonMelissa LeBlanc-Williams
2019-03-25Properly calculate BPP for displayio.BitmapRadomir Dopieralski
Fix #1669
2019-03-24Added Single Byte Boundaries option for certain displaysMelissa LeBlanc-Williams
2019-03-24Updated RTD comment to reflect new param defaulting TrueMelissa LeBlanc-Williams
2019-03-23Enable CS toggle for displayio by defaultMelissa LeBlanc-Williams
2019-03-23Added new parameter description in displayio RTD commentMelissa LeBlanc-Williams
2019-03-23Added option to toggle cs in displayio init sequenceMelissa LeBlanc-Williams
2019-03-19Fix up sphinxScott Shawcroft
2019-03-19Move Glyph and BuiltinFont into fontioScott Shawcroft
It was confusing in displayio. Fixes #1662
2019-03-12Update displayio docs to add detail to display bus commentsScott Shawcroft
Fixes #1599
2019-03-12Standardize TileGrid to x and y properties over positionScott Shawcroft
This brings it inline with Group. Also fixes #1613 This also includes a number of fixes for where a method is called through a subclass. We now correctly get the native object. Fixes #1567 Lastly, this adds subscript support to TileGrid for changing tile indices. Similar to Bitmap, it accepts ints or 2-tuples.
2019-03-12Accept x and y kwargs into Group for initial position.Scott Shawcroft
2019-03-07Rework background display task to allow reads from SPI SD card during ↵Dan Halbert
display. Clarify code. Handle multiple displays better.
2019-03-06check display-bus transaction status and act accordinglyDan Halbert
2019-03-06Merge pull request #1601 from penguindustin/masterDan Halbert
added height and width attributes for displayio
2019-03-05changed from mp_int_t to uint16_tDustin Mendoza
2019-03-02changed width and height to be propertiesDustin Mendoza
2019-03-02Fixed the OnDiskBitmap example to reflect code changesBryan Siepert
2019-02-25added height and width attributes for displayioDustin Mendoza
2019-02-14Merge pull request #1548 from tannewt/shape_arg_checkDan Halbert
Arg check width and height into Shape.
2019-02-13Arg check width and height into Shape.Scott Shawcroft
Fixes #1537
2019-02-13A safe mode fix and displayio fixesScott Shawcroft
* Fixes safe mode on the SAMD51. The "preserved" value was being clobbered by the bootloader. * Fixes auto-reload loop when in safe mode. * Fixes reading Group children with []. * Check that a TileGrid actually moves before queueing a refresh.
2019-02-12Update Shape.cTG-Techie
2019-02-12Tweaks based on dhalbert's feedback.Scott Shawcroft
2019-02-11Fixup doc referenceScott Shawcroft
2019-02-11A variety of displayio improvementsScott Shawcroft
This changes a number of things in displayio: * Introduces BuiltinFont and Glyph so the built in font can be used by libraries. For boards with a font it is available as board.TERMINAL_FONT. Fixes #1172 * Remove _load_row from Bitmap in favor of bitmap[] access. Index can be x/y tuple or overall index. Fixes #1191 * Add width and height properties to Bitmap. * Add insert and [] access to Group. Fixes #1518 * Add index param to pop on Group. * Terminal no longer takes unicode character info. It takes a BuiltinFont instead. * Fix Terminal's handling of [###D vt100 commands used when up arrowing into repl history. * Add x and y positions to Group plus scale as well. * Add bitmap accessor for BuiltinFont
2019-02-01Clarify rotation parameterScott Shawcroft
2019-02-01Add support for display rotation and raw commandsScott Shawcroft
Display rotation is relative to the scan order of the display. The scan order can be found by scrolling the display with command 0x37 `display_bus.send(0x37, struct.pack(">H", i % 128))` Fixes #1504
2019-01-31Correct TileGrid class name.Scott Shawcroft
2019-01-31Correctly handle no backlight pin.Scott Shawcroft