Rust driver for SSD1675 e-Paper display controller
Find a file
Martin Kiefel bf7cb30c38
Update example after bump of dependencies
The recent bump of linux-embedded-hal and embedded-graphics broke the
example. This change fixes the compile time errors.

Tested on a Raspberry Pi Zero W with inky phat display.
2020-03-20 00:04:58 +01:00
.cargo Add armhf support for cross compilation 2019-01-21 13:12:28 -05:00
ci Add code coverage reporting 2019-01-14 11:03:14 +11:00
examples Update example after bump of dependencies 2020-03-20 00:04:58 +01:00
src Replace custom error type in favour of Debug constraints 2020-03-10 20:55:54 +11:00
.gitignore Initial commit 2018-11-13 16:41:24 +11:00
.travis.yml Add code coverage reporting 2019-01-14 11:03:14 +11:00
Cargo.toml update to hal v2 traits 2020-02-26 11:39:39 -06:00
Cross.toml Add armhf support for cross compilation 2019-01-21 13:12:28 -05:00
IMG_2198.jpg Add photo 2018-11-24 18:12:49 +11:00
LICENSE-APACHE Add LICENSE info and update README 2018-11-24 18:11:33 +11:00
LICENSE-MIT Add LICENSE info and update README 2018-11-24 18:11:33 +11:00
README.md Add Codecov badges 2019-01-14 11:06:14 +11:00

SSD1675 ePaper Display Driver

Rust driver for the Solomon Systech SSD1675 e-Paper display (EPD) controller, for use with embedded-hal.

Build Status codecov crates.io Documentation

Photo of Inky pHAT ePaper display on Raspberry Pi Zero W

Description

This driver is intended to work on embedded platforms using the embedded-hal trait library. It is no_std compatible, builds on stable Rust, and only uses safe Rust. It supports the 4-wire SPI interface.

Tested Devices

The library has been tested and confirmed working on these devices:

  • Red/Black/White Inky pHAT version 2 on Raspberry Pi Zero (pictured above)

Examples

Note: To build the examples the examples feature needs to be enabled. E.g.

cargo build --release --examples --features examples

Raspberry Pi with Inky pHAT

The Raspberry Pi Inky pHAT example, shows how to display information on an Inky pHAT using this crate. The photo at the top of the page shows this example in action. To avoid the need to compile on the Raspberry Pi itself I recommend cross-compiling with the cross tool. With cross installed build the example as follows:

cross build --target=arm-unknown-linux-gnueabi --release --example raspberry_pi_inky_phat --features examples

After it is built copy target/arm-unknown-linux-gnueabi/release/examples/raspberry_pi_inky_phat to the Raspberry Pi.

Credits

License

ssd1675 is dual licenced under: