summaryrefslogtreecommitdiff
path: root/shared-module/displayio/Display.c
AgeCommit message (Collapse)Author
2020-06-03Fix up end of file and trailing whitespace.Diego Elio Pettenò
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-05-05Merge pull request #2842 from hierophect/stm32-h7-displayiohierophect
STM32: Add displayio to F7/H7
2020-05-01Fix flag typoLucian Copeland
2020-04-30Make PulseIO optional within DisplayIOLucian Copeland
2020-04-14Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler
2020-04-08Save backlight_on_high correctly.Scott Shawcroft
Fixes #2750
2020-03-31Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
2020-03-25adding a backlight polarity flag to Displaysiddacious
2020-03-13First try at lowering the power consumptionScott Shawcroft
2019-12-16displayio: make 'rotation' property settableJeff Epler
2019-11-18Supervisor: move most of systick to the supervisorJeff Epler
This code is shared by most parts, except where not all the #ifdefs inside the tick function were present in all ports. This mostly would have broken gamepad tick support on non-samd ports. The "ms32" and "ms64" variants of the tick functions are introduced because there is no 64-bit atomic read. Disabling interrupts avoids a low probability bug where milliseconds could be off by ~49.5 days once every ~49.5 days (2^32 ms). Avoiding disabling interrupts when only the low 32 bits are needed is a minor optimization. Testing performed: on metro m4 express, USB still works and time.monotonic_ns() still counts up
2019-11-15Add never_reset and reset to pin common hal, adjust filesHierophect
2019-09-03Add .hidden to TileGrid and GroupScott Shawcroft
This allows for one to preserve ordering within a Group while hiding something temporarily. Fixes #1688
2019-09-03Fix I2CDisplay bus_free to not grab lockScott Shawcroft
Fixes #2098
2019-08-26Minor renamesScott Shawcroft
2019-08-23Rework based on Dan's reviewScott Shawcroft
2019-08-22Regular display fixes including refresh tweaksScott 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-22EPaper displays work mostly.Scott Shawcroft
2019-08-21Merge remote-tracking branch 'adafruit/master' into displayio_fill_areaDave Astels
2019-08-19Merge remote-tracking branch 'adafruit/master' into run-background-tasksDan Halbert
Restore dependencies indicated by indentation in circuitpy_mpconfig.h.
2019-08-14Fix I2CDisplay lifecycle and splash lifecycle.Scott Shawcroft
Fixes https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306/issues/2
2019-08-11shared-module: Use RUN_BACKGROUND_TASKSJeff Epler
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-13Minor tweaks based on Dan's feedbackScott Shawcroft
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-04-18add Display.__init__() args for brightness and auto_brightnessDan Halbert
2019-04-05Added comment regarding parameter loopMelissa LeBlanc-Williams
2019-04-04Added option to easily treat SPI parameter data as commandsMelissa LeBlanc-Williams
2019-04-01Removed unnecessary bit-ANDingMelissa LeBlanc-Williams
2019-03-31Improved readability of Single Byte Bounds codeMelissa LeBlanc-Williams
2019-03-27Simplified cs toggling into fourwire onlyMelissa LeBlanc-Williams
2019-03-27Simplified into fourwire onlyMelissa 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-26Added small delay inside toggle for edge casesMelissa LeBlanc-Williams
2019-03-26Added small delay inside toggle for edge casesMelissa LeBlanc-Williams
2019-03-25Fixed wrong operatorMelissa LeBlanc-Williams
2019-03-24Added Single Byte Boundaries option for certain displaysMelissa LeBlanc-Williams
2019-03-23Moving Toggle to before command fixes driver issueMelissa 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-06Merge pull request #1601 from penguindustin/masterDan Halbert
added height and width attributes for displayio