Prepare release

- fix cargo fmt error
- rename forgotten stuff
digi-v2-tests
Chris 4 years ago
parent eeb89dfa1d
commit b9395b5eff

@ -1,12 +1,12 @@
[package]
authors = ["Christoph Groß <christoph-gross@mailbox.org>"]
authors = ["Christoph Groß <caemor@mailbox.org>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "An embedded-hal based driver for ePaper displays from Waveshare"
documentation = "https://docs.rs/epd_waveshare"
homepage = "https://github.com/Caemor/epd_waveshare"
documentation = "https://docs.rs/epd-waveshare"
homepage = "https://github.com/caemor/epd-waveshare"
keywords = ["ePaper", "Display", "epd"]
license = "ISC"
name = "epd_waveshare"
name = "epd-waveshare"
readme = "README.md"
repository = "https://github.com/Caemor/epd_waveshare.git"
version = "0.2.0"
@ -14,7 +14,7 @@ version = "0.2.0"
[badges]
# Travis CI: `repository` in format "<user>/<project>" is required.
# `branch` is optional; default is `master`
travis-ci = { repository = "Caemor/epd_waveshare" }
travis-ci = { repository = "caemor/epd-waveshare" }
[features]

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/Caemor/eink-waveshare-rs.svg?branch=master)](https://travis-ci.com/Caemor/eink-waveshare-rs)
[![Build Status](https://travis-ci.com/caemor/epd-waveshare.svg?branch=master)](https://travis-ci.com/caemor/epd-waveshare)
This library contains a driver for E-Paper Modules from Waveshare.

@ -6,7 +6,7 @@ authors = ["Christoph Groß <christoph-gross@mailbox.org>"]
[dependencies]
## The Only difference between this one and the one without default features sizewise seems to be a different .d-file Size (dependencies-file)
#eink_waveshare_rs = { path = "../../"}
#epd_waveshare = { path = "../../"}
epd_waveshare = { path = "../../", default-features = false, features = ["epd4in2", "graphics"]}
linux-embedded-hal = "0.2.1"

@ -3,7 +3,7 @@
//! # Example for the 1.54 in E-Ink Display
//!
//! ```ignore
//! use eink_waveshare_rs::{
//! use epd_waveshare::{
//! epd1in54::{EPD1in54, Buffer1in54},
//! graphics::{Display, DisplayRotation},
//! prelude::*,

@ -5,7 +5,7 @@
//! # Example for the 2.9 in E-Ink Display
//!
//! ```ignore
//! use eink_waveshare_rs::{
//! use epd_waveshare::{
//! epd2in9::{EPD2in9, Buffer2in9},
//! graphics::{Display, DisplayRotation},
//! prelude::*,
@ -221,7 +221,7 @@ where
// clear the ram with the background color
let color = self.background_color.get_byte_value();
self.interface.cmd(spi, Command::WRITE_RAM)?;
self.interface.data_x_times(spi, color, WIDTH / 8 * HEIGHT)
}

Loading…
Cancel
Save