adafruit_sharpmemorydisplay

A display control library for Sharp ‘memory’ displays

  • Author(s): ladyada

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_sharpmemorydisplay.SharpMemoryDisplay(spi, scs_pin, width, height, *, baudrate=8000000)

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!