mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Some last doc changes
This commit is contained in:
@@ -212,7 +212,7 @@ fn run() -> Result<(), std::io::Error> {
|
|||||||
// a moving `Hello World!`
|
// a moving `Hello World!`
|
||||||
let limit = 10;
|
let limit = 10;
|
||||||
for i in 0..limit {
|
for i in 0..limit {
|
||||||
println!("Moving Hello World. Loop {} from {}", i, limit);
|
println!("Moving Hello World. Loop {} from {}", (i+1), limit);
|
||||||
|
|
||||||
display.draw(
|
display.draw(
|
||||||
Font6x8::render_str(" Hello World! ")
|
Font6x8::render_str(" Hello World! ")
|
||||||
|
|||||||
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
//! A simple Driver for the Waveshare 1.54" E-Ink Display via SPI
|
//! A simple Driver for the Waveshare 1.54" E-Ink Display via SPI
|
||||||
//!
|
//!
|
||||||
//!
|
//! # Example for the 1.54 in E-Ink Display
|
||||||
//! # Examples from the 4.2" Display. It should work the same for the 1.54" one.
|
|
||||||
//!
|
//!
|
||||||
//! ```ignore
|
//! ```ignore
|
||||||
//! use eink_waveshare_rs::{
|
//! use eink_waveshare_rs::{
|
||||||
|
|||||||
Reference in New Issue
Block a user