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
@@ -1,8 +1,8 @@
use color::Color;
pub(crate) const WIDTH: u32 = 400;
pub(crate) const HEIGHT: u32 = 300;
pub(crate) const DEFAULT_BACKGROUND_COLOR: Color = Color::White;
pub const WIDTH: u32 = 400;
pub const HEIGHT: u32 = 300;
pub const DEFAULT_BACKGROUND_COLOR: Color = Color::White;
pub(crate) const LUT_VCOM0: [u8; 44] = [
0x00, 0x17, 0x00, 0x00, 0x00, 0x02,
+3 -2
View File
@@ -56,14 +56,15 @@ use interface::DisplayInterface;
//The Lookup Tables for the Display
pub(crate) mod constants; //TODO: Limit to crate::drawing
use self::constants::*;
pub use self::constants::*;
use color::Color;
pub(crate) mod command;
use self::command::Command;
pub mod graphics;
mod graphics;
pub use self::graphics::Buffer4in2;
/// EPD4in2 driver