From 8d08bef233f92efc5490df39b374d74a1342aac2 Mon Sep 17 00:00:00 2001 From: caemor Date: Sun, 14 Oct 2018 12:36:54 +0200 Subject: [PATCH] add embedded_graphics --- Cargo.toml | 2 ++ src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 346ea63..fc9e5d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,8 @@ epd4in2_fast_update = [] [dependencies] +embedded-graphics = "0.4.1" + [dependencies.embedded-hal] features = ["unproven"] diff --git a/src/lib.rs b/src/lib.rs index 6492411..93c7c39 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -78,6 +78,8 @@ pub use epd2in9::EPD2in9; #[cfg(any(feature = "epd1in54", feature = "epd2in9"))] pub(crate) mod type_a; +use embedded_graphics; + //TODO: test spi mode /// SPI mode - /// For more infos see [Requirements: SPI](index.html#spi)