Browse Source

Some last doc changes

embedded-hal-1.0
Chris 7 years ago
parent
commit
0204e72cb5
  1. 2
      examples/embedded_linux_epd4in2/src/main.rs
  2. 7
      src/epd1in54/mod.rs

2
examples/embedded_linux_epd4in2/src/main.rs

@ -212,7 +212,7 @@ fn run() -> Result<(), std::io::Error> {
// a moving `Hello World!`
let limit = 10;
for i in 0..limit {
println!("Moving Hello World. Loop {} from {}", i, limit);
println!("Moving Hello World. Loop {} from {}", (i+1), limit);
display.draw(
Font6x8::render_str(" Hello World! ")

7
src/epd1in54/mod.rs

@ -1,8 +1,7 @@
//! A simple Driver for the Waveshare 1.54" E-Ink Display via SPI
//!
//!
//! # Examples from the 4.2" Display. It should work the same for the 1.54" one.
//!
//!
//! # Example for the 1.54 in E-Ink Display
//!
//! ```ignore
//! use eink_waveshare_rs::{
//! epd1in54::{EPD1in54, Buffer1in54},

Loading…
Cancel
Save