Go to file
Christoph Groß cfe9126fe7 Merge branch 'master' of github.com:Caemor/eink-waveshare-rs 2018-07-26 15:16:37 +02:00
ci added ci 2018-05-11 14:02:55 +02:00
examples/embedded_linux Stablised traits and interfaces, converted epd4in2 to it, and started real work on epd2in9 2018-07-19 16:46:15 +02:00
src fixed bad documentation of the 2in9 epd 2018-07-26 15:16:28 +02:00
.gitignore some changes 2018-05-09 16:50:54 +02:00
.travis.yml another try at the travis.yml 2018-05-24 15:08:18 +02:00
Cargo.toml added a comment 2018-07-23 14:33:55 +02:00
License.md Create License.md 2018-05-04 13:25:57 +02:00
README.md add support checkmark for 2.9 epd 2018-07-24 10:05:53 +02:00

README.md

eink-waveshare-rs Build Status

This library contains a driver for the 4.2 Inch E-Paper Module from Waveshare.

Support for more (especially the smaller and faster ones) should follow after the library around the 4.2" EInk is stable and tested enough.

(Supported) Devices

Device Colors Partial Refresh Supported Tested
4.2 Inch B/W Black, White Not officially [1]
1.54 Inch B/W Black, White
2.13 Inch B/W Black, White
2.9 Inch B/W Black, White

4.2 Inch E-Ink Black/White

Out of the Box the original driver from Waveshare only supports full updates.

  • [1]: Be careful with the quick refresh updates:
    It's possible with this driver but might lead to ghosting / burn-in effects therefore it's hidden behind a feature.

Interface

Interface Description
VCC 3.3V
GND GND
DIN SPI MOSI
CLK SPI SCK
CS SPI chip select (Low active)
DC Data/Command control pin (High for data, and low for command)
RST External reset pin (Low for reset)
BUSY Busy state output pin (Low for busy)

TODO's

  • add more examples (e.g. for f3)
  • improve the partial drawing/check the timings/timing improvements/....
  • for later: add support for the smaller waveshare epds
  • License: Stay with ISC (=MIT) or go to the Apache+MIT Dual License as used in many other projects?

Graphics/Drawing

Supports:

  • Lines
  • Squares
  • Circles
  • Pixels
  • Chars
  • Strings

Chars and Strings work with a 8x8-Font.

Support for bigger sized/independent Fonts is in work.

Examples

There is an example for Raspberry Pi in the example folder.