adafruit_sharpmemorydisplay
¶
A display control library for Sharp ‘memory’ displays
- Author(s): ladyada
Implementation Notes¶
Hardware:
- Adafruit SHARP Memory Display Breakout - 1.3 inch 144x168 Monochrome
- Adafruit SHARP Memory Display Breakout - 1.3 inch 96x96 Monochrome
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!
-
show
()¶ write out the frame buffer via SPI, we use MSB SPI only so some bit-swapping is rquired. The display also uses inverted CS for some reason so we con’t use bus_device
-
-
adafruit_sharpmemorydisplay.
reverse_bit
(num)¶ 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!