summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/Display.c
AgeCommit message (Collapse)Author
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
2019-01-31Correctly handle no backlight pin.Scott Shawcroft
2019-01-31Polish up commentsScott Shawcroft
2019-01-31Support adjustable backlight brightnessScott Shawcroft
2019-01-31Rudamentary backlight supportScott Shawcroft
2019-01-31Hook up the terminal based on the first display.Scott Shawcroft
2019-01-18simplify arg checking for displayScott Shawcroft
2019-01-18Improvements thanks to danh's reviewScott Shawcroft
2019-01-18Add a bit more to the docsScott Shawcroft
2019-01-17Fix up nrf and using board.SPI in FourWireScott Shawcroft
2019-01-17External fourwire works and blinka splash afterScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft