summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/Display.h
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-09-30Ran pre-commit locallyMark Roberts
2020-09-24Mostly-working-version with commentsMark Roberts
2020-09-21Initial commit bool column_and_page_addressingMark Roberts
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler
2020-03-25adding a backlight polarity flag to Displaysiddacious
2019-12-16displayio: make 'rotation' property settableJeff Epler
2019-08-31Add random dithering to ColorConverterMatthew Newberg
2019-08-26Minor renamesScott Shawcroft
2019-08-23Rework based on Dan's reviewScott Shawcroft
2019-08-22Rework refresh API and factor common display stuff outScott Shawcroft
NOT TESTED! Just compiles Fixes #1691
2019-08-22Begin refresh rework.Scott Shawcroft
2019-08-22Initial ePaper workScott Shawcroft
2019-07-31Merge remote-tracking branch 'adafruit/master' into displayio_fill_areaDave Astels
2019-07-31Expose rotation with a propertyDave Astels
2019-07-25Add knobs for SSD1322 and two fixes.Scott Shawcroft
* Fix terminal clear after first successful code.py run. * Fix transmitting too many bytes for column constraint with single byte bounds.
2019-07-19Review feedback including NO_BRIGHTNESS_COMMAND macroScott Shawcroft
2019-07-19Add support for grayscale displays that are < 8 bit depth.Scott Shawcroft
This also improves Palette so it stores the original RGB888 colors. Lastly, it adds I2CDisplay as a display bus to talk over I2C. Particularly useful for the SSD1306. Fixes #1828. Fixes #1956
2019-06-12Add partial display update support.Scott Shawcroft
Different operations to the display tree have different costs. Be aware of these costs when optimizing your code. * Changing tiles indices in a TileGrid will update an area covering them all. * Changing a palette will refresh every object that references it. * Moving a TileGrid will update both where it was and where it moved to. * Adding something to a Group will refresh each individual area it covers. * Removing things from a Group will refresh one area that covers all previous locations. (Not separate areas like add.) * Setting a new top level Group will refresh the entire display. Only TileGrid moves are optimized for overlap. All other overlaps cause sending of duplicate pixels. This also adds flip_x, flip_y and transpose_xy to TileGrid. They change the direction of the pixels but not the location. Fixes #1169. Fixes #1705. Fixes #1923.
2019-05-21Rework the pixel computation to use areasScott Shawcroft
This changes the displayio pixel computation from per-pixel to per-area. This is precursor work to updating portions of the screen (#1169). It should provide mild speedups because bounds checks are done once per area rather than once per pixel. Filling by area also allows TileGrid to maintain a row-associative fill pattern even when the display's refresh is orthogonal to it.
2019-04-18add Display.__init__() args for brightness and auto_brightnessDan Halbert
2019-04-04Added option to easily treat SPI parameter data as commandsMelissa 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-24Added Single Byte Boundaries option for certain displaysMelissa LeBlanc-Williams
2019-03-23Added option to toggle cs in displayio init sequenceMelissa LeBlanc-Williams
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-05changed from mp_int_t to uint16_tDustin Mendoza
2019-02-25added height and width attributes for displayioDustin Mendoza
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-31Support adjustable backlight brightnessScott Shawcroft
2019-01-31Rudamentary backlight supportScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft