Crate ssd1681[−][src]
SSD1681 ePaper Display Driver
Used in the Adafruit 1.54“ Tri-Color display
For a complete example see the example.
This driver is losely modeled after the epd-waveshare drivers but built for my needs.
Usage
This driver does not hide that you’re working with one buffer for black/white and one for red. To display something you:
- first create a buffer (either b/w or red) and draw things onto it, preferably
with
embedded_graphics
. - then send the frame to the display driver using
driver::Ssd1681::update_bw_frame
ordriver::Ssd1681::update_red_frame
- then kick off a display update using
driver::Ssd1681::update_bw_frame
ordriver::Ssd1681::update_red_frame
Modules
color | B/W Color for EPDs |
driver | Driver for interacting with SSD1681 display driver |
graphics | Graphics Support for EPDs |
interface | Display interface using SPI |
prelude | Useful exports |
Constants
HEIGHT | Maximum display height this driver supports |
WIDTH | Maximum display width this driver supports |