Rust driver for SSD1675 e-Paper display controller
Find a file
Wesley Moore 9d8b68d78e
Merge pull request #9 from etrombly/hal_v2
update to hal v2 traits
2020-03-10 20:12:54 +11: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 to use config builder 2018-12-26 08:43:04 +11:00
src add custom error type to handle results 2020-02-28 11:02:59 -06: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: