sharpdisplay
– Support for Sharp Memory Display framebuffers
For more information about working with Sharp Memory Displays, see this Learn guide.
Available on these boards
- class sharpdisplay.SharpMemoryFramebuffer(spi_bus: busio.SPI, chip_select: microcontroller.Pin, width: int, height: int, baudrate: int = 2000000, jdi_display: bool = False)
A framebuffer for a memory-in-pixel display. Sharp makes monochrome displays and JDI used to make 8-color displays.
This initializes a display and connects it into CircuitPython. Unlike other objects in CircuitPython, Display objects live until
displayio.release_displays()
is called. This is done so that CircuitPython can use the display itself.Create a framebuffer for the memory-in-pixel display.
- Parameters:
spi_bus (busio.SPI) – The SPI bus that the display is connected to
chip_select (microcontroller.Pin) – The pin connect to the display’s chip select line
width (int) – The width of the display in pixels
height (int) – The height of the display in pixels
baudrate (int) – The baudrate to communicate with the screen at
jdi_display (bool) – When True, work with an 8-color JDI display. Otherwise, a monochrome Sharp display.