Crate ssd1681

Crate ssd1681 

Source
Expand description

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:

  1. first create a buffer (either b/w or red) and draw things onto it, preferably with embedded_graphics.
  2. then send the frame to the display driver using driver::Ssd1681::update_bw_frame or driver::Ssd1681::update_red_frame
  3. then kick off a display update using driver::Ssd1681::update_bw_frame or driver::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