Fixed examples and more small improvements

This commit is contained in:
Chris
2018-10-19 17:00:15 +02:00
parent 3b0b5962ec
commit 520317f351
9 changed files with 52 additions and 33 deletions
+3 -3
View File
@@ -19,9 +19,9 @@
//! epd4in2.sleep();
//! ```
const WIDTH: u32 = 128;
const HEIGHT: u32 = 296;
const DEFAULT_BACKGROUND_COLOR: Color = Color::White;
pub const WIDTH: u32 = 128;
pub const HEIGHT: u32 = 296;
pub const DEFAULT_BACKGROUND_COLOR: Color = Color::White;
use hal::{
blocking::{delay::*, spi::Write},