From cea8858596ff5e93d5fdc8a67b41b1026a118fd4 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Tue, 13 Nov 2018 16:41:24 +1100 Subject: [PATCH] Initial commit --- .gitignore | 3 +++ Cargo.toml | 6 ++++++ README.md | 28 ++++++++++++++++++++++++++++ src/lib.rs | 7 +++++++ 4 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6936990 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/target +**/*.rs.bk +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..f10aa7f --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "ssd1675" +version = "0.1.0" +authors = ["Wesley Moore "] + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..13077a0 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# SSD1675 EPD dislpay driver + +[Insert picture of Inky pHAT here] + +Rust driver for the [Solomon Systech SSD1675][SSD1675] e-Paper display (EPD) +controller, for use with [embedded-hal]. + +## Description + +This driver is intended to work on embedded platforms using the `embedded-hal` +trait library. It is `no_std`, contains no added `unsafe`, and does not require +an allocator. 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 + +## Credits + +* [SSD1306 OLED display driver](https://github.com/jamwaffles/ssd1306) +* [SSD1322 OLED display driver](https://github.com/edarc/ssd1322) +* [Pimoroni Python library for the Inky pHAT and Inky wHAT e-paper displays](https://github.com/pimoroni/inky) + +[SSD1675]: http://www.solomon-systech.com/en/product/advanced-display/bistable-display-driver-ic/SSD1675/ +[embedded-hal]: https://crates.io/crates/embedded-hal +[Inky pHat]: https://shop.pimoroni.com/products/inky-phat diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}