You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - Internal Buffer Mode: This mode allows you to modify an internal buffer by using methods like [`set_pixel`], [`clear`], or by using the [`embedded-graphics`] crate. Once you have made your changes, you can call the [`flush`] method to write the buffer to the display.
12
-
/// - Direct Write Mode: This mode allows you to write directly to the display memory by calling the [`draw`] method.
8
+
/// Works in two modes:
9
+
/// - Direct Write Mode (by default): This mode allows you to write directly to the display memory by calling the [`draw`] method.
10
+
/// - Buffered Mode: This mode allows you to modify an internal buffer by using methods like [`set_pixel`], [`clear`], or by using the [`embedded-graphics`] crate. Once you have made your changes, you can call the [`flush`] method to write the buffer to the display.
Copy file name to clipboardExpand all lines: src/lib.rs
+76-4Lines changed: 76 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,88 @@
6
6
//!
7
7
//! - Supports I2C and SPI communication protocols via the [`display_interface`](https://docs.rs/display_interface) crate.
8
8
//! - Provides two display modes:
9
-
//! - Internal Buffer Mode: This mode allows you to modify an internal buffer by using methods like [`set_pixel`], [`clear`], or by using the [`embedded-graphics`] crate. Once you have made your changes, you can call the [`flush`] method to write the buffer to the display.
10
-
//! - Direct Write Mode: This mode allows you to write directly to the display memory by calling the [`draw`] method.
9
+
//! - Direct Write Mode (by default): This mode allows you to write directly to the display memory by calling the [`draw`] method.
10
+
//! - Buffered Mode: This mode allows you to modify an internal buffer by using methods like [`set_pixel`], [`clear`], or by using the [`embedded-graphics`] crate. Once you have made your changes, you can call the [`flush`] method to write the buffer to the display.
//! **Note**: This driver is designed to work with a more generic 128x64 resolution, instead of the original 132x65 resolution of the ST7567S controller.
19
-
//! **Note**: SPI communication is not tested yet.
18
+
//! # Notes
19
+
//! - This driver is designed to work with a more common 128x64 resolution, instead of the original 132x65 resolution of the ST7567S controller.
0 commit comments