diff --git a/src/epd2in13bc/graphics.rs b/src/epd2in13bc/graphics.rs index 64eea72..10ca19a 100644 --- a/src/epd2in13bc/graphics.rs +++ b/src/epd2in13bc/graphics.rs @@ -3,7 +3,7 @@ use crate::graphics::{Display, DisplayRotation}; use embedded_graphics::pixelcolor::BinaryColor; use embedded_graphics::prelude::*; -/// Full size buffer for use with the 2in9b/c EPD +/// Full size buffer for use with the 2in13b/c EPD /// /// Can also be manually constructed and be used together with VarDisplay pub struct Display2in13bc { diff --git a/src/epd2in13bc/mod.rs b/src/epd2in13bc/mod.rs index d3db78e..e055acb 100644 --- a/src/epd2in13bc/mod.rs +++ b/src/epd2in13bc/mod.rs @@ -64,9 +64,9 @@ use crate::traits::{ }; /// Width of epd2in13bc in pixels -pub const WIDTH: u32 = 128; +pub const WIDTH: u32 = 104; /// Height of epd2in13bc in pixels -pub const HEIGHT: u32 = 296; +pub const HEIGHT: u32 = 212; /// Default background color (white) of epd2in9bc display pub const DEFAULT_BACKGROUND_COLOR: Color = Color::White;