Browse Source

Some last doc changes

embedded-hal-1.0
Chris 8 years ago
parent
commit
0204e72cb5
  1. 2
      examples/embedded_linux_epd4in2/src/main.rs
  2. 3
      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!` // 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! ")

3
src/epd1in54/mod.rs

@ -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::{

Loading…
Cancel
Save