mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-04 06:16:42 +00:00
Remove more or less duplicate test cases for 2in9 buffer
This commit is contained in:
@@ -12,7 +12,7 @@ impl Default for Buffer1in54BlackWhite {
|
||||
WIDTH as usize * HEIGHT as usize / 8
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+3
-3
@@ -19,10 +19,10 @@
|
||||
//! epd4in2.sleep();
|
||||
//! ```
|
||||
|
||||
const WIDTH: u32 = 200;
|
||||
const HEIGHT: u32 = 200;
|
||||
pub const WIDTH: u32 = 200;
|
||||
pub const HEIGHT: u32 = 200;
|
||||
//const DPI: u16 = 184;
|
||||
const DEFAULT_BACKGROUND_COLOR: Color = Color::White;
|
||||
pub const DEFAULT_BACKGROUND_COLOR: Color = Color::White;
|
||||
|
||||
use hal::{
|
||||
blocking::{delay::*, spi::Write},
|
||||
|
||||
Reference in New Issue
Block a user