A display control library for Sharp ‘memory’ displays
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- class adafruit_sharpmemorydisplay.SharpMemoryDisplay(spi, scs_pin, width, height, *, baudrate=2000000)¶
A driver for sharp memory displays, you can use any size but the full display must be buffered in memory!
Set buffer to value of Python Imaging Library image. The image should be in 1 bit mode and a size equal to the display size.
write out the frame buffer via SPI, we use MSB SPI only so some bit-swapping is required.
Turn an LSB byte to an MSB byte, and vice versa. Used for SPI as it is LSB for the SHARP, but 99% of SPI implementations are MSB only!