summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/Display.c
AgeCommit message (Collapse)Author
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler
2020-04-14displayio: implement, use allocate_display_or_raiseJeff Epler
2020-03-25adding a backlight polarity flag to Displaysiddacious
2020-03-05rename routines to be clearer; fix wiznet arg typesDan Halbert
2020-02-28new pin validation routines; don't use mp_const_none if NULL will doDan Halbert
2019-12-16displayio: make 'rotation' property settableJeff Epler
2019-09-05Move dither parameter to ColorConverter constructor and parameterMatthew Newberg
2019-08-31Add random dithering to ColorConverterMatthew Newberg
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-21Get rid of the last bits of array dependancyDave Astels
2019-08-21Remove unneeded linesDave Astels
2019-08-20getting the buffer info should happen first (due to its check)Dave Astels
2019-08-20Move the get_buffer call earlierDave Astels
2019-08-20Remove array castDave Astels
2019-08-20Remove temporarily comments codeDave Astels
2019-08-20Rework to simplifyDave Astels
2019-08-20Switch to positional parametersDave Astels
2019-08-20Fix typoDave Astels
2019-08-16Simplify to only extracting one lineDave Astels
Since this was the usecase, doing so simplifies the function significantly.
2019-08-07Pass in preallocated result bufferDave Astels
2019-08-07Remove obsolete experimental propertyDave Astels
2019-07-31Merge remote-tracking branch 'adafruit/master' into displayio_fill_areaDave Astels
2019-07-31Expose rotation with a propertyDave Astels
2019-07-31Get fill_area workingDave 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-25WIP on exposing fill_areaDave Astels
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-18Fix displayio.Display docstring type for display_bus.Craig Forbes
Add docs for group parameter for Display.show.
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-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-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-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-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-05changed from mp_int_t to uint16_tDustin Mendoza
2019-03-02changed width and height to be propertiesDustin Mendoza
2019-02-25added height and width attributes for displayioDustin Mendoza
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