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)